Simple Named Grid Areas

I think of named grid areas in CSS Grids as bring-your-own syntactic sugar. You don’t absolutely need them (you could express grid placement in other ways), but it can make that placement more intuitive. And, hey, if I’m wrong about that, correct me in the comments.

Say you set up a 3-column grid:

.grid {
display: grid;
grid-gap: 1rem;
grid-template-columns:
200px 1fr 1fr;
}

No rows defined there; those are implicit and will appear as needed. We could define them, …

The post Simple Named Grid Areas appeared first on CSS-Tricks.

Read more

20+ Simple PowerPoint Templates (With Clutter-Free Design)

When it comes to creating PowerPoint slideshows, using a simple PowerPoint template can be a key approach. It may seem like a good idea to throw the kitchen sink: data, stats, charts, and shapes into every slide, but you’ll never be able to win over your audience with a cluttered slideshow design. That’s why professionals […]
Read more

70+ Christmas Mockups, Icons, Graphics & Resources

Christmas is on the way! Whether you’re designing festive party flyers, looking for Christmas mockups, or a holiday icon set, we have a great collection for you today! We’ve pulled together a fantastic collection of Christmas flyers and templates, mockups, icons, vectors, and much more. Some of them are completely free, some cost a few […]
Read more

Understanding React Render Props and HOC

Here’s a great post by Aditya Agarwal on the difference between render props and higher-order components in React. I particularly like the demo he chose to explain the two. But, to summarize:

Higher-order components (HOCs) take a component and return a component. So let’s say you have a component called Username that just returns a string of a user’s name and you want to capitalize that somewhere – this is the perfect opportunity to use a HOC that wraps …

The post Understanding React Render Props and HOC appeared first on CSS-Tricks.

Read more

Tips to Set Up WooCommerce on WordPress

Ecommerce has redefined the shopping experiences of people and has offered an abundance of convenience to select and buy a product. Because it’s so easy to use, more and more ecommerce businesses are choosing to set up their online store on WordPress. Setting up your own store is as easy as downloading the WooCommerce plugin. In …
The post Tips to Set Up WooCommerce on WordPress appeared first on Torque.
Read more

Top 5 Email Scams For 2018: Gullible People Beware

For as long as email has existed, email scams have also existed. But that being said, email scams have hardly remained the same, because as internet scams, in general, have become more sophisticated with each passing year so have email scams as well. Today, email scams are more deceptive and advanced, and unfortunately also more …
The post Top 5 Email Scams For 2018: Gullible People Beware appeared first on Torque.
Read more

Symbolic Links for Easier Multi-Folder Local Development

You know how you open a “project” in a local code editor? I guess different editors have different terminology for it, but essentially what you are doing is opening a folder/directory and it shows you a sidebar full of files and folders you can navigate through and such.

Typically there is one parent folder, and everything else is within that folder. Right? Well, it doesn’t have to be! That’s where symbolic links come in.

Otherwise known as symlinks, they …

The post Symbolic Links for Easier Multi-Folder Local Development appeared first on CSS-Tricks.

Read more