Lessons

Explore all newline lessons

Tags
Author
Pricing
Sort By
Video
Most Recent
Most Popular
Highest Rated
Reset
CSS Grid vs Flexbox for Composable Layouts

lesson

CSS Grid vs Flexbox for Composable LayoutsComposing Layouts in React

You will learn the basics of CSS Flexbox and CSS Grid, especially which properties conform to the Encapsulated CSS principles and which ones do not.

How to Vertically Center a DIV in React With CSS

lesson

How to Vertically Center a DIV in React With CSSComposing Layouts in React

In this lesson, we will learn how to build the Cover primitive, which will vertically center its children and allow you to inject a top or a bottom section around it.

Resize Images And Maintain Aspect Ratio in React and CSS

lesson

Resize Images And Maintain Aspect Ratio in React and CSSComposing Layouts in React

In this lesson, we will build the Frame primitive, which frames out a visual media, like an image or video, and forces it into the aspect ratio needed for the design without distorting the image.

Automatically Center Text DIVs with React Center Component

lesson

Automatically Center Text DIVs with React Center ComponentComposing Layouts in React

In this lesson, we will be creating a Center layout primitive that centers itself and its children.