Programming CSS

if (condition) {
// code here
}
condition {
// styles here
}
if (condition1 && condition2) {
// code here
}
condition1 condition2 {
// styles here
}
  • condition1 > condition2
  • condition1 ~ condition2
  • condition2 + condition2
if (condition1 || condition2) {
// code here
}
condition1, condition2 {
// styles here
}

--

--

--

A web developer and author living and working in Brighton, England. Everything I post on Medium is a copy — the originals are on my own website, adactio.com

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Creating an SSL certificate for localhost in Django framework

The Effect of Advantage/Disadvantage in Dungeons and Dragons 5E on Success, Failure and Damage

Scraping from 0 to hero (part 1/5)

Best Hot MCT-520DPL MCT-520DPC Cut Mma Koude Mig En Flux Zonder Gas 5 In 1Multi-function Tig…

Nano Development Update — October 2020

How much CSS is Enough before Moving to Javascript?⚡️

Perfect Guide to Learn CSS and Move to Javascript

How use Ledger in ZilPay wallet.

Part 2: The Planning for DS and Algo interview Prep(Java)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jeremy Keith

Jeremy Keith

A web developer and author living and working in Brighton, England. Everything I post on Medium is a copy — the originals are on my own website, adactio.com

More from Medium

CSS Concepts to Know: Specificity

CSS CALC() function

CSS’s class naming convention.