Preventing a Grid Blowout

Say you have a very simple CSS grid layout with one column fixed at 300px and another taking up the rest of the space at 1fr.

.grid {
display: grid;
grid-template-columns: 1fr 300px;
}

That’s somewhat robust. That 1fr column will take up any remaining space left behind by the fixed 300px column. It’s true that the auto value would do the same, but auto isn’t quite as robust since it’s size is based on the content inside. So, …

The post Preventing a Grid Blowout appeared first on CSS-Tricks.

Continuer la lecture Preventing a Grid Blowout

First Wave of WordCamp Europe 2019 Tickets Sells Out in 3 Hours

The first batch of tickets for WordCamp Europe 2019 were released early this morning and all 250 standard tickets sold out within three hours and nine minutes. Berlin won out as the next city to host the camp, in part due to the region’s strong local WordPress community. The city (more…)

Continuer la lecture First Wave of WordCamp Europe 2019 Tickets Sells Out in 3 Hours

4 Tips for Optimizing Your WordPress Newsletter

A newsletter can be a powerful tool. Publishing a regular newsletter gives you a perfect way to connect with your audience, which can increase engagement and even improve conversions. However, simply cobbling something together won’t be enough to make your newsletter a success. To ensure that your newsletter is effective in its goals, you’ll need …
The post 4 Tips for Optimizing Your WordPress Newsletter appeared first on Torque.

Continuer la lecture 4 Tips for Optimizing Your WordPress Newsletter

The Shapes of CSS

CSS is capable of making all sorts of shapes. Squares and rectangles are easy, as they are the natural shapes of the web. Add a width and height and you have the exact size rectangle you need. Add border-radius and you can round that shape, and enough of it you can turn those rectangles into circles and ovals.

We also get the ::before and ::after psuedo elements in CSS, which give us the potential of two more shapes we can …

The post The Shapes of CSS appeared first on CSS-Tricks.

Continuer la lecture The Shapes of CSS

How to Boost Your Social Media Presence With Templates

With each passing day, it seems like social media is becoming a more visual medium. You don’t just tweet a couple hundred characters, you add a card or image. You don’t just post a photo on Instagram, you add a video or story that creates a more interactive experience for users. Social media templates can […]

Continuer la lecture How to Boost Your Social Media Presence With Templates