- CSS Media Queries
@media can be used to apply part of a style sheet based on the result of one or more media queries . With it, you specify a media query and a block of CSS to apply to the document if and only if the media query matches the device on which the content is being used. @media […]
- CSS Gradients
CSS gradients let you display smooth transitions between two or more specified colors. Gradients can be used anywhere you would use an <image>, such as in backgrounds. Because gradients are dynamically generated, they can negate the need for the raster image files that traditionally were used to…
- CSS Grid
Source code on Github
- CSS Page Layout
Source code on Github
- CSS Specifity
If you have two (or more) conflicting CSS rules that point to the same element, there are some basic rules that a browser follows to determine which one is most specific and therefore wins out. More specific = Higher precedence If the selectors are the same then the last one will always take…