Codex
How To Display Post Thumbnails Correctly In WordPress
Featured images, also called post thumbnails, need theme support first. After that, use has_post_thumbnail() to check if the post has an image and the_post_thumbnail() to print it.
How To Create A Masonry Layout With Css Columns
What it is: a masonry layout places items of different heights in tight columns with no empty gaps, like a Pinterest board. Native CSS masonry is still in development and…
How To Use Css @Supports For Feature Detection And Safe Fallbacks
What it is: @supports asks the browser "do you understand this CSS?" and applies a block of styles only if the answer is yes. It is the safe way to…
How To Use Css Counters For Automatic Numbering Of Headings And Lists
What it is: CSS can count elements for you and show the number with ::before or ::after. You never type the numbers by hand, so if you add or remove…
Css Math Functions: Round, Mod, Rem, Sin And Cos Explained
What it is: besides calc(), min(), max() and clamp(), CSS now has functions for rounding, remainders and trigonometry. They help with consistent spacing, repeating patterns and circular layouts.


