By Chen Hui Jing / @hj_chen
Join us on Discord.
Check out the code on GitHub.
Most cards have blurbs. This is the epitome of a generic example. Oh well…
See the Pen Container Query Bookstore by Max Böck (@mxbck) on CodePen.
Container Query Bookstore by Max Böck:has()
selector
/* Matches menu items with submenus in them */
nav li:has(menu) a::after { … }
/* Matches <h1> elements only if they have a <p> element directly after */
h1:has(+ p) { … }
/* Matches all <section> elements that do NOT contain headings */
section:not(:has(h1, h2, h3, h4, h5, h6)) { … }
/* Matches all <section> elements that have empty <div>s */
section:has(div:empty) { … }
Node.js is used by 3.3% of all the websites whose web server we know.
–W3Techs
PHP is used by 76.2% of all the websites whose server-side programming language we know.
–W3Techs
At the very least, make sure you know what jQuery is doing for you, and what it's not.
–You might not need jQuery
See the Pen Untitled by Chen Hui Jing (@huijing) on CodePen.
Font is Inclusive Sans by Olivia King.