CSS Basics
@cssbasics.fridayfrontend.com
1.7K followers 2 following 420 posts
Front-end dev links aimed at beginners, posted daily. Brought to you by @fridayfrontend.com and curated by @spaceninja.com
Posts Media Videos Starter Packs
cssbasics.fridayfrontend.com
aria-label or title? Screen Reader Behaviour Explained: "Discover how screen readers handle aria-label vs title attributes. Get clear guidance on implementation and accessibility standards." #a11y www.a11y-collective.com/blog/aria-la...
aria-label or title? Screen Reader Behaviour Explained
Discover how screen readers handle aria-label vs title attributes. Get clear guidance on implementation and accessibility standards.
www.a11y-collective.com
cssbasics.fridayfrontend.com
The #HTML picture element: "Sometimes, designs have different images for large and small screen layouts. The element is purpose-built for these situations." html-css-tip-of-the-week.netlify.app/tip/the-pict...
cssbasics.fridayfrontend.com
A workaround for using custom properties in media queries: "One of the most frustrating aspects of #CSS media queries is that we can’t use custom properties with them. This often results in hard-coded values in otherwise, highly configurable codebases." piccalil.li/blog/a-worka...
A workaround for using custom properties in media queries
One of the most frustrating aspects of media queries is that we can’t use custom properties with them. This often results in hard-coded values in otherwise, highly configurable codebases. Manuel has…
piccalil.li
cssbasics.fridayfrontend.com
A tiny bit-o-CSS for Stable Scrollbar Gutters: "To show scrollbars only when they’re needed (while keeping space for the scrollbar if it’s added later) use the scrollbar-gutter #CSS property." www.zachleat.com/web/stable-s...
Zach Leatherman—zachleat.com
A post by Zach Leatherman (zachleat)
zachleat.com
cssbasics.fridayfrontend.com
This Website Has No Class: "I decided to banish classes from my website completely… By virtue of their progressively enhanced nature, custom tag names and custom attributes are 100% valid #HTML, javascript or no." #CSS aaadaaam.com/notes/no-cla...
This website has no class | Adam Stoddard
Going “full CSS Zen Garden” with modern CSS.
aaadaaam.com
cssbasics.fridayfrontend.com
Composition in #CSS: "CSS is a composable language by nature. This composition nature is already built into the cascade. We simply don't talk about composition as a Big Thing because it's the nature of the language." css-tricks.com/composition-...
Composition in CSS | CSS-Tricks
CSS is a composable language by nature. This composition nature is already built into the cascade. We simply don't talk about composition as a Big Thing because it's the nature of the language.
css-tricks.com
cssbasics.fridayfrontend.com
Breakpoint Columns, Five Ways: "There are usually multiple ways to do the same thing on the web. Sometimes... a lot of ways. Which is 'better' can be a matter of taste or which abstraction buys the most value. Check out this #CSS example and see which you prefer." frontendmasters.com/blog/breakpo...
Breakpoint Columns, Five Ways. Which Do You Like?
There are usually multiple ways to do the same thing on the web. Sometimes... a lot of ways. Which is
frontendmasters.com
cssbasics.fridayfrontend.com
Single-colour #CSS gradients: "Gradients are generally for going from one colour to another, so the idea of a single-colour gradient might seem a bit useless, but there are a few good use cases for them." html-css-tip-of-the-week.netlify.app/tip/single-c...
cssbasics.fridayfrontend.com
Why You Should Test Your Page Without #JavaScript: "Build accessible websites that work without JavaScript. Learn progressive enhancement and fallback strategies for better user experience." www.sitepoint.com/test-your-pa...
Why You Should Test Your Page Without JavaScript
Build accessible websites that work without JavaScript. Learn progressive enhancement and fallback strategies for better user experience.
www.sitepoint.com
cssbasics.fridayfrontend.com
What Can We Actually Do With #CSS corner-shape? "So, corner-shape is actually a helluva lot of fun. It certainly has more uses than I expected, and no doubt with some experimentation you’ll come up with some more." css-tricks.com/what-can-we-...
What Can We Actually Do With corner-shape? | CSS-Tricks
When I first started messing around with code, rounded corners required five background images or an image sprite likely created in Photoshop, so when
css-tricks.com
cssbasics.fridayfrontend.com
While you’re fixing the fun stuff, fix the important stuff too: "We walk through a fictional bug and fix a little visual issue, but we then spend time uncovering other much more important issues and fix them too." #CSS piccalil.li/blog/while-y...
While you’re fixing the fun stuff, fix the important stuff too
We walk through a fictional bug and fix a little visual issue, but we then spend time uncovering other much more important issues and fix them too.
piccalil.li
cssbasics.fridayfrontend.com
Why I still prefer ems over rems: "This allows you to scale things like margins and padding proportionally with font-size changes. It also makes it really easy to adjust the size of all elements inside a parent element." #CSS gomakethings.com/why-i-still-...
Why I still prefer ems over rems
Today, I wanted to talk about why I still think em units are superior to rem, and why Kelp uses them. Let’s dig in! Relative units Relative units are ways to define size in CSS that’s relative to the…
gomakethings.com
cssbasics.fridayfrontend.com
View Transitions: What Could Possibly Go Wrong? "Most of the time, View Transitions just work. This page is for the exceptions: the quirks, the caveats, the things that quietly cancel your animations. Learn how to detect them and bring transitions back to life." #CSS vtbag.dev/tips/view-tr...
View Transitions: What Could Possibly Go Wrong?
Most of the time, View Transitions just work. This page is for the exceptions: the quirks, the caveats, the things that quietly cancel your animations. Learn how to detect them and bring transitions…
vtbag.dev
cssbasics.fridayfrontend.com
The Fundamentals of #CSS Alignment: "This deep dive covers everything you need to know about CSS alignment. It's time to stop doing trial and error and finally understand how everything works!" css-tip.com/explore/alig...
The Fundamentals of CSS Alignment
This deep dive covers everything you need to know about CSS alignment. It's time to stop doing trial and error and finally understand how everything works!
css-tip.com
cssbasics.fridayfrontend.com
Should you preload fonts for performance? "Everyone’s preloading fonts for faster sites. But did you know it can secretly regress your First Contentful Paint instead? Let’s look at when preloading helps, when it hurts, and the simple rules to follow." #performance www.erwinhofman.com/blog/should-...
Should you preload fonts for performance?
Preloading fonts can speed up or slow down your site. Learn how it affects FCP/LCP, how Chrome handles preloads, and when to use them for better performance.
www.erwinhofman.com
cssbasics.fridayfrontend.com
Opening a Details Element from the URL: "If the #hash in the URL matches the ID of an element *inside* a element, it'll open. No other fancy code required." #HTML frontendmasters.com/blog/opening...
Opening a Details Element from the URL
If the #hash in the URL matches the ID of an element *inside* a element, it'll open. No other fancy code required.
frontendmasters.com