This on r/programming today: CSS Tips. There are a lot of good tricks in there, this one was my fav:
.center {
display: flex;
align-items: center;
justify-content: center;
}
…it centres content vertically and horizontally.
This on r/programming today: CSS Tips. There are a lot of good tricks in there, this one was my fav:
.center {
display: flex;
align-items: center;
justify-content: center;
}
…it centres content vertically and horizontally.
Today I stumbled upon SliceTricks (over here). It’s about how to do array manipulations with slice syntax in Go.
Today I read Ten modern layouts in one line of CSS about advanced contemporary CSS features.