How Well Do You Know CSS Layout?

The difference between a CSS good experience and a long frustrating one is oftentimes a matter of a few small details. CSS is indeed nuanced. One of the most common areas where I see struggles is layout. Personally, I like to study patterns. I notice that I tend to use a small group of patterns to solve the majority of my layout problems. This article is about those CSS patterns I use to get myself through layout challenges. It is … Read article

The post How Well Do You Know CSS Layout? appeared first on CSS-Tricks.

Read more

CSS doesn’t suck

I’m not so protective of CSS that I’m above hearing it criticized, but I’m certainly in agreement here. CSS does not suck. I love how the post is framed to hype up current CSS features the way features of other languages and tools are hyped:

Imagine if a tech dude walked on stage at a conference and said the following:

“This declarative language will gracefully continue on failure, allow you to write global and scoped code, and it will work

Read article

The post CSS doesn’t suck appeared first on CSS-Tricks.

Read more

In Defense of Utility-First CSS

A rather full-throated argument (or rather, response to arguments against) utility (atomic) CSS from Sarah Dayan. I wondered recently if redesigns were potentially a weakness of these types of systems (an awful lot of tearing down classes) which Sarah acknowledges and recommends more abstraction to help.

I also wonder about workflow. I sort of demand working in an environment which offers style injection, so working with CSS feels smooth. I also worry that having to change HTML every time … Read article

The post In Defense of Utility-First CSS appeared first on CSS-Tricks.

Read more

20+ School Newsletter Templates

A school newsletter template can help you create an effective way to bridge the gap between teachers, students, and parents to keep everyone updated on the latest news and upcoming events. If your school don’t have a newsletter yet or planning on revamping your old newsletter design, use these easy to use school newsletter templates […]
Read more

Using React Portals to Render Children Outside the DOM Hierarchy

Say we need to render a child element into a React application. Easy right? That child is mounted to the nearest DOM element and rendered inside of it as a result.

render() { return ( 
// Child to render inside of the div
); }

But! What if we want to render that child outside of the div somewhere else? That could be tricky because it breaks the convention that a component needs to render as a new … Read article

The post Using React Portals to Render Children Outside the DOM Hierarchy appeared first on CSS-Tricks.

Read more

Can You Create a Functional (and Effective) Website Without Spending a Dollar?

It’s said that nothing tastes as good as free, but is it really possible to get a website up and running without spending any money at all? This is a common question – for both beginners and experts to site development. In fact, there are plenty of tools, platforms, and services that offer completely free …
The post Can You Create a Functional (and Effective) Website Without Spending a Dollar? appeared first on Torque.
Read more

Design v17

We rolled out a new site design on January 1! This is the 17th version of CSS-Tricks if you can believe that. The versions tend to evolve a decent amount beyond the initial launch, but we archive screenshots on this design history page. Like I said in our 2018 thank you post:

This is easily the most time, effort, and money that’s gone into a redesign since the big v10 design. There are a lot of aesthetic changes,

Read article

The post Design v17 appeared first on CSS-Tricks.

Read more

The Ethics of Web Performance

Tim Kadlec on the issues surrounding poor web performance and why it’s so important for us to care about making our sites as fast as possible:

Poor performance can, and does, lead to exclusion. This point is extremely well documented by now, but warrants repeating. Sites that use an excess of resources, whether on the network or on the device, don’t just cause slow experiences, but can leave entire groups of people out.

There is a growing gap between what

Read article

The post The Ethics of Web Performance appeared first on CSS-Tricks.

Read more

Brochure Design Ideas & Inspiration for 2019

Almost every designer has created a brochure at some point. And there’s a strong possibility you’ll be asked to design another! Whether it’s for a client or to promote your own business, there’s an art to designing a brochure. And then there’s an added challenge: brochure design isn’t just for print anymore. Digital brochures are […]
Read more