Search
Making Tables With Sticky Header and Footers Got a Bit Easier
15.6.2021
It wasn’t long ago when I looked at sticky headers and footers in HTML <table>s in the blog post A table with both a sticky header and a sticky first column. In it, I never used position: sticky on …
The post Making Tables With Sticky Header and Footers Got a Bit Easier...
CSS-Tricks Chronicle XXXX
14.6.2021
Just a little link roundup of some off-site stuff I’ve done recently. As I’m wont to do from time to time.
DevJourney Podcast
#151 Chris Coyier from ceramics to CSS-Tricks and CodePen‘
Chris took us from playing on
…
The post CSS-Tricks Chronicle XXXX appeared first...
Securing Your Website With Subresource Integrity
14.6.2021
When you load a file from an external server, you’re trusting that the content you request is what you expect it to be. Since you don’t manage the server yourself, you’re relying on the security of yet another third party …
The post Securing Your Website With Subresource Integrity appeared...
Safari 15: New UI, Theme Colors, and… a CSS-Tricks Cameo!
11.6.2021
There’s a 33-minute video (and resources) over on apple.com covering the upcoming Safari changes we saw in the WWDC keynote this year in much more detail. Look who’s got a little cameo in there:
Perhaps the most noticeable thing there …
The post Safari 15: New UI, Theme Colors...
The Possibilities of Syndication
11.6.2021
That’s the one word that isn’t an adjective in the acronym RSS.
Really Simple Syndication.
RSS isn’t just about RSS readers. Even though, gosh if I don’t love RSS readers. It’s about putting content in a format that is …
The post The Possibilities...
Adding Shadows to SVG Icons With CSS and SVG Filters
11.6.2021
Why would we need to apply shadows to SVG?
Shadows are a common design feature that can help elements, like icons, stand out. They could be persistent, or applied in different states (e.g. :hover, :focus, or :active)
…
The post Adding Shadows to SVG Icons With CSS and SVG Filters appeared...
Put a Background on Open Details Elements
11.6.2021
One thing that can be just a smidge funky about the <details> element is that, when open, it’s not always 100% clear what is inside that element and what isn’t. I’m not saying that always matters or that it’s a …
The post Put a Background on Open Details...
Equal Columns With Flexbox: It’s More Complicated Than You Might Think
10.6.2021
As awesome as flexbox is, what it’s doing under the hood is actually a little strange because, by default, it is doing two things at once. It first looks at the content size which is what we would get if by declaring width: max-content on an element. But on top of that, flex-shrink is also doing...
Building a Headless CMS with Fauna and Vercel Functions
10.6.2021
In this tutorial, we will learn and use headless CMS, Fauna, and Vercel functions to build a blogging platform, Blogify After that, you can easily build any web application using a headless CMS, Fauna and Vercel functions.
The post Building a Headless CMS with Fauna and Vercel Functions appeared...
Collective #665
10.6.2021
Cognitive Bias and the Design Process * MVP Transformations * Best practices for fonts
The post Collective #665 appeared first on Codrops
Concordium Debuts its Business-Oriented Blockchain Mainnet
10.6.2021
After years of development, Concordium has unveiled its permissionless blockchain and MVP that is designed to meet the needs of enterprises by delivering transparency and governance, all with an orientation towards protecting user privacy. Identity-Centric Network to Promote Broader Business...
A Cornucopia of Container Queries
9.6.2021
I don’t know about y’all, but my feeds have been flooded with articles about CSS Container Queries these past few weeks. The buzz about container queries actually started back in December after Miriam Suzanne posted a proposal (picking up on …
The post A Cornucopia of Container...
target=”blank”
9.6.2021
Does that make your eye twitch a little bit? Like… it’s a typo. It should be target="_blank" with an underscore to start the value. As in…
<a target="_blank" href="https://codepen.io"Open CodePen in a New Tab
</a
Welp, that’s correct syntax!…
The post...
Looking at WCAG 2.5.5 for Better Target Sizes
8.6.2021
Have you ever experienced the frustration of trying to tap a button on a mobile device only to have it do nothing because the target size is just not large enough **and it’s not picking up on your press? Maybe …
The post Looking at WCAG 2.5.5 for Better Target Sizes appeared first...
CSS-Trickz: An Experiment with Netlify’s On-Demand Builders
8.6.2021
WordPress sites have an API by default. Wanna see this site’s most recent posts, with just a specific set of data… in JSON format? Here ya go. Alex Riviere made a joke site using that.
At first, the site …
The post CSS-Trickz: An Experiment with Netlify’s On-Demand Builders...
Links on Accessibility
7.6.2021
Show/Hide password accessibility and password hints tutorial — Nicolas Steenhout goes deep on <input type="password"> accessibility. For one thing, being able to toggle it to type="text" should be possible, while announcing, politely, the change. But also, put the password hints...
VS Code Extensions for HTML
7.6.2021
Let’s look at some extensions for VS Code that make writing and editing HTML (and languages that are basically HTML with extra powers) better. You may not like all of them. Maybe some of them don’t appeal to you, solve …
The post VS Code Extensions for HTML appeared first...
Principles for user-centered front-end development
4.6.2021
Colin Oakley:
• Accessible — Use semantic HTML, and make sure we meet the WCAG 2.1 AA standard as a minimum and it works with assisted technologies (this sits alongside the DWP Accessibility Manual)
• Agnostic — Build
…
The post Principles for user-centered front-end...
Can I :has()
4.6.2021
I just joked that we’re basically getting everything we want in CSS super fast (mostly referring to container queries, my gosh, can you imagine they are actually coming?). Now we might actually get parent selectors?! As in .parent:has(.child) { …
The post Can I :has() appeared first...
Hexagons and Beyond: Flexible, Responsive Grid Patterns, Sans Media Queries
3.6.2021
A little while back, Chris shared this nice hexagonal grid. And true to its name, it’s using —wait for it — CSS Grid to form that layout. It’s a neat trick! Combining grid columns, grid gaps, and creative clipping …
The post Hexagons and Beyond: Flexible, Responsive Grid Patterns, Sans Media...