Search
How are the `colspan` and `rowspan` attributes different?
15.8.2024
Yes, yes. Functionally, they are different. But heck if I didn’t know about the wacky thresholds until Jens Oliver Meiert tooted a pair of quick polls.
According to the HTML Standard:
If the current cell has a colspan attribute, then 
…
How are the `colspan`...
font-size Limbo
13.8.2024
You might recall that Alvaro suggests bumping up font-size to 1.25rem from the default user agent size of 16px. Sebastian Laube pokes at that:
I wouldn’t adopt Alvaro’s suggestion without further ado, as I would waste so much space
…
font-size Limbo originally published...
(Hyper) Links About (Hyper) Links
2.8.2024
Heydon on the virtues of hyperlinking hypertext in an anchor element:
Sometimes, the <a> is referred to as a hyperlink, or simply a link. But it is not one of these and people who say it is one are
…
(Hyper) Links About (Hyper) Links originally published...
HTML Web Components Make Progressive Enhancement and CSS Encapsulation Easier!
1.8.2024
I have to thank Jeremy Keith and his wonderfully insightful article from late last year that introduced me to the concept of HTML Web Components. This was the “a-ha!” moment for me:
When you wrap some existing markup in a
…
HTML Web Components Make Progressive Enhancement and...
Bridging Design and Code: The Power of Penpot’s CSS Grid Layout
15.4.2024
Explore Penpot, the open-source platform enhancing design and development teamwork, now featuring the CSS Grid Layout for even more powerful and efficient project creation
How to Override width and height HTML attributes with CSS
5.2.2024
One of the HTML elements that frequently comes into collision with CSS is the img element. As we learned in Request Metrics’ Fixing Cumulative Layout Shift Problems on DavidWalshBlog article, providing image dimensions within the image tag will help to improve your website’s score....
Fixing Cumulative Layout Shift Problems on DavidWalshBlog
24.1.2024
Over 50 thousand developers visit DavidWalshBlog every month from around the world to learn JavaScript tricks and fix problems in their code. Unfortunately, some of them have a slow experience on the site. David tracks the performance of his Core Web Vitals and overall performance with Request...
Unveiling 15+ Essential Tools & Resources for Web Designers and Agencies in 2023 (Sponsored)
12.9.2023
You’ve visited countless websites, and now you’re designing your own. Stop and think for a minute about what you’ve liked and didn’t like about some of those you visited. Was it the front page, the layout in general, or the functionalities that either met with your satisfaction or turned you off?...
Unveiling 15+ Essential Tools & Resources for Web Designers and Agencies in 2023 (Sponsored)
12.9.2023
You’ve visited countless websites, and now you’re designing your own. Stop and think for a minute about what you’ve liked and didn’t like about some of those you visited. Was it the front page, the layout in general, or the functionalities that either met with your satisfaction or turned you off?...
Connected Grid Layout Animation
30.8.2023
Some ideas for simple on-scroll animations on "connected" grid layouts
Scroll-Based Layout Animations
20.7.2023
An exploration of different scroll based layout switch animations using GSAP's ScrollTrigger and Flip
Final Fantasy XVI: 8 Useful Settings To Adjust For The Best Experience
23.6.2023
The latest in the legendary series of Japanese role-playing games, Final Fantasy XVI features a very different tone in both story and combat. And with a vast story covering complex fictional political plotlines, it can all be a little overwhelming. The good news, however, is that Final Fantasy...
Ideas for Grid to Slideshow Switch Animations
4.5.2023
Some ideas and inspiration for layout animations where we go from an irregular grid to a slideshow or alternative view
Making Calendars With Accessibility and Internationalization in Mind
13.3.2023
Doing a quick search here on CSS-Tricks shows just how many different ways there are to approach calendars. Some show how CSS Grid can create the layout efficiently. Some attempt to bring actual data into the mix. Some …
Making Calendars With Accessibility and Internationalization in Mind...
Faking Min Width on a Table Column
10.1.2023
The good ol’ <table> tag is the most semantic HTML for showing tabular data. But I find it very hard to control how the table is presented, particularly column widths in a dynamic environment where you might not know how …
Faking Min Width on a Table Column originally published...
Tooltip to Gallery Transition
7.12.2022
A concept for page transitions where a tooltip image animates to a gallery layout and fullscreen image
Using The New Constrained Layout In WordPress Block Themes
30.11.2022
One of the main goals of the WordPress Site Editor (and, yes, that is now the “official” name) is to move basic block styling from CSS to structured JSON. JSON files are machine-readable, which makes it consumable by …
Using The New Constrained Layout In WordPress Block Themes originally...
Inline Layout Switch Ideas
22.11.2022
Two ideas for animating images from an inline layout to a column or grid-based one
Collective #733
13.10.2022
New patterns for amazing apps * Randoma11y * Design Systems For Figma * Layout Breakouts with CSS Grid
On-Scroll Animation and View Switch
5.10.2022
A layout with some scroll animations and a view switch where the content item images animate to a grid