5 Articles By

34 Cross

5 Articles By

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 …

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 affects how elements are aligned both in Flexbox and CSS Grid layouts.

.container {
  display: flex;
  align-items: flex-start;
}
Syntax
align-items: flex-start | flex-end | center | baseline | stretch
…
Back to Top ⌃