CSS Hell

Collection of common CSS mistakes, and how to fix them From Stefánia Péter. Clever idea for a site! Some of them are little mind-twisters that could bite you, and some of them are honing in on best practices that … The post CSS Hell appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter. https://csshell.dev/

4y | CSS tricks
Svelte for the Experienced React Dev

This post is an accelerated introduction to Svelte from the point of view of someone with solid experience with React. I’ll provide a quick introduction, and then shift focus to things like state management and DOM interoperability, among other things. …

The post Svelte for the Experienced React Dev appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/svelte-for-the-experienced-react-dev/

4y | CSS tricks
svg-loader: A Different Way to Work With External SVG

SVGs are awesome: they are small, look sharp on any scale, and can be customized without creating a separate file. However, there is something I feel is missing in web standards today: a way to include them as an external …

The post svg-loader: A Different Way to Work With External SVG appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/svg-loader-a-different-way-to-work-with-external-svg/

4y | CSS tricks
Notion API

The Public Beta of the Notion API dropped! Woot! Here’s their guide. I’ve been a Notion user and fan for a long time, for both personal and professional team use. They even sponsored a few videos around here a …

The post Notion API appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/notion-api/

4y | CSS tricks
fit-content and fit-content()

Here’s some hardcore deep-dive CSS nerdery from PPK. If you can wrap your mind around min-content (the smallest an element can be based on the content it contains) and max-content (the largest the content of an element can push it) …

The post fit-content and fit-content() appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://www.quirksmode.org/blog/archives/2021/04/fitcontent_and.html

4y | CSS tricks
Can We Create a “Resize Hack” With Container Queries?

If you follow new developments in CSS, you’ve likely heard of the impending arrival of container queries. We’re going to look at the basics here, but if you’d like another look, check out Una’s “Next Gen CSS: @container” article. …

The post Can We Create a “Resize Hack” With Container Queries? appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/can-we-create-a-resize-hack-with-container-queries/

4y | CSS tricks
Learn CSS!

Ooo look at this mighty SEO flex from Google: Learn CSS! Well deserved — this is great content. Twenty-three chapters taking you through all the fundamentals of CSS with extra content, like relevant podcasts, interactive examples, and even quizzes to …

The post Learn CSS! appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://web.dev/learn/css/

4y | CSS tricks
JSON in CSS

Jonathan Neal tweeted a heck of a little CSS trick the other day, putting JSON inside CSS and plucking it out with JavaScript. Valid values for custom properties are quite liberal! So this looks for a CSS rule (e.g. a …

The post JSON in CSS appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/json-in-css/

4y | CSS tricks
Pinned Audio WordPress Theme

I’m afraid I have to start this with a whole backstory, as the journey here is the point, not so much the theme. A fella wrote to me a while back outlining a situation he was in. His company has …

The post Pinned Audio WordPress Theme appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/pinned-audio-wordpress-theme/

4y | CSS tricks
How to Create Neon Text With CSS

Neon text can add a nice, futuristic touch to any website. I’ve always loved the magic of neon signs, and wanted to recreate them using CSS. I thought I’d share some tips on how to do it! In this article, …

The post How to Create Neon Text With CSS appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/how-to-create-neon-text-with-css/

4y | CSS tricks

Search