Sometimes `sizes` is quite important.

Paraphrased question from email:

I just read your article Responsive Images: If you’re just changing resolutions, use srcset. In the age of “responsive websites,” srcset does not help in certain situations. For example, I have a popular products slider. On mobile, I have one image per slide where the images are 320px wide. On desktop, I have six images per slide where each is 160px wide. So the desktop images are smaller on desktop, not bigger.

How do I …

The post Sometimes `sizes` is quite important. appeared first on CSS-Tricks.

Read more

40+ Best Infographic Templates (Word, PowerPoint & Illustrator)

An infographic can give you a way to represent information in a graphic format, designed to make it more understandable, relatable, and engaging. But they can be tricky to make! We’ve gathered together a collection of stunning infographic templates, to get you started quickly (whether you’re using Word, PowerPoint, or Illustrator!) Infographics usually require icons, […]
Read more

Teaching Your Clients How to Use The Website You Built Them

I share my own thoughts on how you might go about educating someone you just built a site for. But it turns out I had a lot of fun putting together a ton of other people’s thoughts as well. I tweeted about it and got a flood of responses, so this article is an amalgamation of all that.

Direct Link to ArticlePermalink

The post Teaching Your Clients How to Use The Website You Built Them appeared first on CSS-Tricks.

Read more

Recent Videos!

I’ve recorded a decent number of videos lately, most of which are pairing with someone and digging into a topic as I glean as much information as I can! Several of these are sponsored, in that they are a part of an advertising package. Hopefully, you know me well enough that I don’t work with companies I don’t like or that sell something I don’t think you’d be good buying, but hey, heads up.

Phil Hawksworth and I do…

The post Recent Videos! appeared first on CSS-Tricks.

Read more

12 Tips For Choosing the Right WordPress Theme

WordPress is the most popular CMS today, powering over 30 percent of the web. It is very easy to use and configure for anything from a small business to an enterprise site. One of the reasons so many people use the platform is the number of themes that are available. Instead of designing a website …
The post 12 Tips For Choosing the Right WordPress Theme appeared first on Torque.
Read more

Solved with CSS! Logical Styling Based on the Number of Given Elements

This post is the third in a series about the power of CSS.

Article Series:

  1. Colorizing SVG Backgrounds
  2. Dropdown Menus
  3. Logical Styling Based On the Number of Given Elements (this post)

Did you know that CSS is Turing complete? Did you know that you can use it to do some pretty serious logical styling? Well you can! You don’t have to set all of your logic-based styling rules in JavaScript, or even have to use JavaScript to set …

The post Solved with CSS! Logical Styling Based on the Number of Given Elements appeared first on CSS-Tricks.

Read more