Let’s Create a Tiny Programming Language

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/

3y | CSS tricks
Useful Tools for Creating AVIF Images

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/

3y | CSS tricks
How to Serve a Subdomain as a Subdirectory

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/

3y | CSS tricks
Syntax Highlighting (and More!) With Prism on a Static Site

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/

3y | CSS tricks
Adding Custom GitHub Badges to Your Repo

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.

https://css-tricks.com/adding-custom-git

3y | CSS tricks
Creating Realistic Reflections With CSS

In design, reflections are stylized mirror images of objects. Even though they are not as popular as shadows, they have their moments — just think about the first time you explored the different font formats in MS Word or PowerPoint: …

Creating Realistic Reflections With CSS originally published on CSS-Tricks. You should get the newsletter.

https://css-tricks.com/creating-realistic-reflections-with-css/

3y | CSS tricks
Creating the DigitalOcean Logo in 3D With CSS

Howdy y’all! Unless you’ve been living under a rock (and maybe even then), you’ve undoubtedly heard the news that CSS-Tricks, was acquired by DigitalOcean. Congratulations to everyone! 🥳 As a little hurrah to commemorate the occasion, I wanted to …

Creating the DigitalOcean Logo in 3D With CSS originally published on CSS-Tricks. You should get the newsletter.

https://css-tricks.com/creating-the-digitalocean-logo-in-3d-with-css/

3y | CSS tricks
Setting Up CloudFront to Host Your Web App

In my last article, we went over how to set up a web app that serves chunks and bundles of CSS and JavaScript from CloudFront. We integrated it into Vite so that when the app runs in a browser, …

Setting Up CloudFront to Host Your Web App originally published on CSS-Tricks. You should get the newsletter.

https://css-tricks.com/setting-up-cloudfront-to-host-your-web-app/

3y | CSS tricks
Cool Hover Effects That Use Background Properties

A while ago, Geoff wrote an article about a cool hover effect. The effect relies on a combination of CSS pseudo-elements, transforms, and transitions. A lot of comments have shown that the same effect can be done using background …

Cool Hover Effects That Use Background Properties originally published on CSS-Tricks. You should get the newsletter.

https://css-tricks.com/cool-hover-effects-using-background-properties/

3y | CSS tricks
Avoiding the Pitfalls of Nested Components in a Design System

When creating a component-based, front-end infrastructure, one of the biggest pain points I’ve personally encountered is making components that are both reusable and responsive when there are nested components within components. Take the following “call to action” (…

Avoiding the Pitfalls of Nested Components in a Design System originally published on CSS-Tricks. You should get the newsletter.

https://css-tricks.com/nested-components-in-a-design-system/

3y | CSS tricks

Search