34 Cross
Tour of a Performant and Responsive CSS Only Site
The following is a guest post by Rajoshi Ghosh and Tanmai Gopal of 34 Cross. They emailed me to show me their new website and how performant it was despite having cool features, being visually rich, and responsive. I was …
flex-basis
The flex-basis
property is a sub-property of the Flexible Box Layout module. It specifies the initial size of the flex item, before any available space is distributed according to the flex factors. When omitted from the flex
shorthand, its …
align-self
The align-self
property is a sub-property of the Flexible Box Layout module.
It makes possible to override the align-items
value for specific flex items.
The align-self
property accepts the same 5 values as the align-items
:
flex-start
: cross-start
justify-content
The justify-content
property is a sub-property of the Flexible Box Layout module.
It defines the alignment along the main axis. It helps distribute extra free space leftover when either all the flex items on a line are inflexible, or …
align-content
The align-content
property is a sub-property of the Flexible Box Layout module.
It helps to align a flex container’s lines within it when there is extra space in the cross-axis, similar to how justify-content
aligns individual items within the …
align-items
The align-items
property is related to CSS layout. It effects how elements are aligned both in Flexbox and Grid layouts.
.container {
display: flex;
align-items: flex-start;
}
Syntax
align-items: flex-start | flex-end | center
…