Why we need CSS subgrid

I’m a huge fan of CSS Grid and I use it on pretty much every project these days. However, there’s one part of it that makes things much more complicated than they really ought to be: the lack of subgrids. And in this post on the matter, Ken Bellows explains why they’d be so gosh darn useful:

But one thing still missing from the Level 1 spec is the ability to create a subgrid, a grid-item with its own grid

Read article

The post Why we need CSS subgrid appeared first on CSS-Tricks.

Read more

30+ Best Minimal & Creative Keynote Templates

If you’re in the process of creating a Keynote slideshow presentation for your next business meeting, we have a solution that will help you craft minimal, creative slides with beautiful designs. There’s no need to spend hours perfecting the design of your slides or hire freelance designers. You can simply use Keynote templates designed by […]
Read more

5 Best Ways to Add Social Media Icons to Your WordPress Website or Blog

You work hard to create a professional website with educational content. You don’t want to get buried under all the other sites on the web. That’s where social media comes in handy. If you can create a customer base on Facebook or Twitter they’ll get your updates every day, and you’ll always be top of …
The post 5 Best Ways to Add Social Media Icons to Your WordPress Website or Blog appeared first on Torque.
Read more

Converting Color Spaces in JavaScript

A challenge I faced in building an image “emojifier” was that I needed to change the color spaces of values obtained using getImageData() from RGB to HSL. I used arrays of emojis arranged by brightness and saturation, and they were HSL-based for the best matches of average pixel colors with the emojis.

In this article, we’ll study functions that will be useful for converting both opaque and alpha-enabled color values. Modern browsers currently support the color spaces RGB(A), hex, and … Read article

The post Converting Color Spaces in JavaScript appeared first on CSS-Tricks.

Read more

Algorithmic Layouts

Don’t miss this video by Heydon that digs into CSS layouts. It’s great how he combines fundamental knowledge, like the way elements flow, wrap, and can have margin with new layout methods like flexbox and grid (with specific examples). Of particular note is the clear demonstration of how flexbox and grid help avoid the need to constantly intervene with media queries in order to affect responsive layouts.

So, in place of this…

.sidebar { float: left; width: 20rem;
}
.not-sidebar 

Read article

The post Algorithmic Layouts appeared first on CSS-Tricks.

Read more

Building Responsive WordPress Forms

(This is a sponsored post.)

Within the arsenal of every WordPress developer exists a toolbox of plugins used to implement key features on a website. Forms, up until now, have been a point of contention for most developers, given that no form plugins have offered seamless integration with existing website code. Therefore, forms often become an alien chunk of code requiring custom and time-consuming stylization.

Now there’s a solution: WS Form

WS Form is a developer-focused WordPress form plugin, … Read article

The post Building Responsive WordPress Forms appeared first on CSS-Tricks.

Read more

20+ Best Book Cover Mockup Templates

Whether you’re working on a book cover design for an indie author or a publishing company, a great way to show off your professionalism and win over your client is to present your design with a book cover mockup template. Book cover mockup templates not only let you present your designs more professionally but also […]
Read more