![Improving Icons for UI Elements with Typographic Alignment and Scale](https://www.cdn5.niftycent.com/d/k/X/o/g/Z/g/improving-icons-for-ui-elements-with-typographic-alignment-and-scale.webp)
Utilizing icons in user interface elements is helpful. In addition to element labeling, icons can help reinforce a user element’s intention to users. But I have to say, I notice a bit of icon misalignment while browsing the web. Even …
Improving Icons for UI Elements with Typographic Alignment and Scale originally published on CSS-Tricks. You should get the newsletter.
https://css-tricks.com/improving-icons-for-ui-elements-with-typographic-alignment-and-scale/
![Creating Style Variations in WordPress Block Themes](https://www.cdn5.niftycent.com/d/1/d/9/d/W/E/creating-style-variations-in-wordpress-block-themes.webp)
Global styles, a feature of the block themes, is one of my favorite parts of creating block themes. The concept of global style variations in WordPress were introduced in Gutenberg 12.5 which would allow theme authors to create alternate …
Creating Style Variations in WordPress Block Themes originally published on CSS-Tricks. You should get the newsletter.
https://css-tricks.com/creating-style-variations-in-wordpress-block-themes/
![Cool Hover Effects That Use CSS Text Shadow](https://www.cdn5.niftycent.com/d/1/Y/P/9/q/9/cool-hover-effects-that-use-css-text-shadow.webp)
In my last article we saw how CSS background properties allow us to create cool hover effects. This time, we will focus on the CSS text-shadow property to explore even more interesting hovers. You are probably wondering how adding shadow …
Cool Hover Effects That Use CSS Text Shadow originally published on CSS-Tricks. You should get the newsletter.
https://css-tricks.com/cool-hover-effects-that-use-css-text-shadow/
![A CSS Slinky in 3D? Challenge Accepted!](https://www.cdn5.niftycent.com/d/e/a/N/q/4/w/a-css-slinky-in-3d-challenge-accepted.webp)
Braydon Coyer recently launched a monthly CSS art challenge. He actually had reached out to me about donating a copy of my book Move Things with CSS to use as a prize for the winner of the challenge — …
A CSS Slinky in 3D? Challenge Accepted! originally published on CSS-Tricks. You should get the newsletter.
![COLRv1 and CSS font-palette: Web Typography Gets Colorful](https://www.cdn5.niftycent.com/d/1/Y/P/l/q/N/colrv1-and-css-font-palette-web-typography-gets-colorful.webp)
According to Toshi Omagari, the author of Arcade Game Typography, the world’s first multi-colored digital font was created in 1982 for a never-released video game called Insector. Multi-colored fonts, sometimes called chromatic type, are still relatively rare on the …
COLRv1 and CSS font-palette: Web Typography Gets Colorful originally published on CSS-Tricks. You should get the newsletter.
https://css-tricks.com/colrv1-and-css-font-palette-web-typography/
![Let’s Create a Tiny Programming Language](https://www.cdn5.niftycent.com/d/D/3/l/L/b/5/let-s-create-a-tiny-programming-language.webp)
By now, you are probably familiar with one or more programming languages. But have you ever wondered how you could create your own programming language? And by that, I mean:
A programming language is any set of rules that convert
…
Let’s Create a Tiny Programming Language originally published on CSS-Tricks. You should get the newsletter.
https://css-tricks.com/lets-create-a-tiny-programming-language/
![Useful Tools for Creating AVIF Images](https://www.cdn5.niftycent.com/d/1/B/A/m/j/g/useful-tools-for-creating-avif-images.webp)
AVIF (AV1 Image File Format) is a modern image file format specification for storing images that offer a much more significant file reduction when compared to other formats like JPG, JPEG, PNG, and WebP. Version 1.0.0 of the AVIF specification …
Useful Tools for Creating AVIF Images originally published on CSS-Tricks. You should get the newsletter.
https://css-tricks.com/useful-tools-for-creating-avif-images/
![How to Serve a Subdomain as a Subdirectory](https://www.cdn5.niftycent.com/d/k/K/R/4/G/o/how-to-serve-a-subdomain-as-a-subdirectory.webp)
Let’s say you have a website built on a platform that excels at design and it’s available at example.com. But that platform falls short at blogging. So you think to yourself, “What if I could use a different blogging …
How to Serve a Subdomain as a Subdirectory originally published on CSS-Tricks. You should get the newsletter.
https://css-tricks.com/how-to-serve-a-subdomain-as-a-subdirectory/
![Syntax Highlighting (and More!) With Prism on a Static Site](https://www.cdn5.niftycent.com/d/k/8/R/G/R/J/syntax-highlighting-and-more-with-prism-on-a-static-site.webp)
So, you’ve decided to build a blog with Next.js. Like any dev blogger, you’d like to have code snippets in your posts that are formatted nicely with syntax highlighting. Perhaps you also want to display line numbers in the …
Syntax Highlighting (and More!) With Prism on a Static Site originally published on CSS-Tricks. You should get the newsletter.
https://css-tricks.com/syntax-highlighting-prism-on-a-next-js-site/
![Adding Custom GitHub Badges to Your Repo](https://www.cdn5.niftycent.com/d/1/9/8/Q/7/Q/adding-custom-github-badges-to-your-repo.webp)
If you’ve spent time looking at open-source repos on GitHub, you’ve probably noticed that most of them use badges in their README files. Take the official React repository, for instance. There are GitHub badges all over the README file that communicate important dynamic info, like the latest released …
Adding Custom GitHub Badges to Your Repo originally published on CSS-Tricks. You should get the newsletter.