20+ Best Landscape Lightroom Presets
5th Annual Hacktoberfest Kicks Off Today, Updated Rules Require 5 Pull Requests to Earn a T-shirt
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.
First Wave of WordCamp Europe 2019 Tickets Sells Out in 3 Hours
4 Tips for Optimizing Your WordPress Newsletter
The post 4 Tips for Optimizing Your WordPress Newsletter appeared first on Torque.
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.