CSS Stats
70% Repetition in Style Sheets: Data on How We Fail at CSS Optimization · Jens Oliver Meiert
Looking at data for some of the most popular websites, we repeat ourselves too much in CSS; using declarations just once is often one solid avenue to avoid repetition; together, we need to put more focus on style sheet optimization.
Parker: Stylesheet analysis tool.
Stylesheet analysis tool. Contribute to katiefenn/parker development by creating an account on GitHub.
Optimal Overlay Finder - Readable Text on a Background Image
The Ultimate CSS Grid Tutorial for Beginners (With Interactive Examples)
A CSS grid tutorial for beginners, discussing the various parts of the Grid Layout spec with lots of interactive examples via CodePen.
Diving into the ::before and ::after Pseudo-Elements / Coder's Block
The ::before and ::after pseudo-elements are incredibly versatile tools in the CSS toolkit. Understanding them can help you craft practical CSS to solve all...
Create Responsive Image Effects With CSS Gradients And aspect-ratio — Smashing Magazine
A classic problem in CSS is maintaining the aspect ratio of images across related components, such as cards. The newly supported `aspect-ratio` property in combination with `object-fit` provides a remedy to this headache of the past! Let’s learn to use these properties, in addition to creating a responsive gradient image effect for extra flair.
Use CSS Variables instead of React Context | Epic React by Kent C. Dodds
How and why you should use CSS variables (custom properties) for theming instead of React context.
What the heck, z-index??
The z-index property can be a tricky little bugger. Sometimes, no matter how much you crank up the number, the element never rises to the top! In this article, we explore stacking contexts, and see how they can thwart our efforts to use z-index. We'll also learn how to use this mechanism to our advantage.
Getting Deep into Shadows | CSS-Tricks
Let’s talk shadows in web design. Shadows add texture, perspective, and emphasize the dimensions of objects. In web design, using light and shadow can add
Barebones CSS for Fluid Images—zachleat.com
A post by Zach Leatherman (zachleat)
CSS transitions and hover animations, an interactive guide
This comprehensive guide shows how to use CSS transitions! A back-to-basics look at the fundamental building blocks we need to create microinteractions and other animations.
How to Make a CSS-Only Carousel | CSS-Tricks
We mentioned a way to make a CSS-only carousel in a recent issue of the newsletter and I thought that a more detailed write up would be interesting and
CSS-Only Carousel | CSS-Tricks
It's kind of amazing how far HTML and CSS will take you when building a carousel/slideshow. Setting some boxes in a horizontal row with flexbox is easy.
Faking container queries with CSS Grid | Polypane Browser for Developers
Container queries are an (hopefully) upcoming feature in CSS that will let you create responsive designs that respond to…
Things You Can Do With CSS Today — Smashing Magazine
The present and future of CSS are very bright indeed and if you take a pragmatic, progressive approach to your CSS, then things will continue to get better and better on your projects, too.
New aspect-ratio CSS property supported in Chromium, Safari Technology Preview, and Firefox Nightly
Maintaining aspect ratio within images and elements is now easier to achieve with the new aspect-ratio CSS property.
Pure CSS Stripes Generator - No Flash, No Image, ONLY CSS
Pure CSS Stripes Generator - No Flash, No Image, ONLY CSS. Generate Striped backgrounds using only CSS
The future of CSS: Higher Level Custom Properties to control multiple declarations – Bram.us
“Higher Level Custom Properties” are Custom Properties that control multiple other CSS Properties. Although still a proposal it's worth having a look already as they're really exciting.
What Can You Put in a CSS Variable? / Coder's Block
CSS variables (also know as CSS custom properties) can hold all sorts of things. Some of these things were not obvious to me, which is why I decided to write...
min(), max(), and clamp(): three logical CSS functions to use today
Min, max, and clamp provide some powerful CSS capabilities that enable more responsive styling with fewer liens of code. This post goes over how to control element sizing, maintain proper spacing, and implement fluid typography using these well-supported CSS math functions.
Using Chrome DevTools to debug CSS Grid - LogRocket Blog
Using Chrome DevTools and CSS Grid, learn how to discover grids in a page, inspect page layout, and debug common layout issues.
Custom Properties as State | CSS-Tricks
Here's a fun idea from James Stanley: a CSS file (that presumably updates daily) containing CSS custom properties for "seasonal" colors (e.g. spring is
(2) Pratham 👨💻🚀 on Twitter: "Hey👋🏼 Do you like my new Twitter header that I just created using CSS? If yes this thread is for you😄 I implemented GLASSMORPHISM which is a latest emerging trend in designing. You can also create one it's pretty easy. Let's see THREAD 🧵 https://t.co/odLDrxVhhV" / Twitter
Hey👋🏼Do you like my new Twitter header that I just created using CSS? If yes this thread is for you😄I implemented GLASSMORPHISM which is a latest emerging trend in designing. You can also create one it's pretty easy. Let's seeTHREAD 🧵 pic.twitter.com/odLDrxVhhV— Pratham 👨💻🚀 (@Prathkum) January 1, 2021
CSS Snapshot 2020
Creating randomness with pure CSS | by Adir SL | Dec, 2020 | UX Collective
These cards were made using HTML and CSS only, no JavaScript , no Sass and no other external scripts or preprocessors involved.
Unlocking the Power of CSS Grid Layout
Once you have grasped the basics of CSS Grid, you quickly discover how it enables many existing design patterns in a streamlined, elegant way. However, we shouldn’t see Grid in isolation. Understanding how other parts of CSS work together with Grid is key, in order to get the most out of our new abilities.
How to Convert CSS to Sass and SCSS For Web Designers
CSS is a really simple and straightforward language, but when it is getting too long – let's say for a thousand of lines, it turns into a
Text Gradients in CSS | CodyHouse
How to create text gradients in CSS using the background-clip property.
The Raven Technique: One Step Closer to Container Queries | CSS-Tricks
For the millionth time: We need container queries in CSS! And guess what, it looks like we're heading in that direction. When building components for a