bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/CSS

CSS

Modern Layout

Flexbox, Grid, and responsive design grouped into one practical layout track.

Lesson 1

CSS Flexbox

CSS Flexbox (Flexible Box Layout) CSS Flexbox is short for the CSS Flexible Box Layout module. Flexbox is a layout model for arranging items (horizontally or vertically) within a container, in a flex…

2 min
Read lesson →
Lesson 2

CSS Grid Layout

CSS Grid Layout Module The Grid Layout Module offers a grid-based layout system, with rows and columns. The Grid Layout Module allows developers to easily create complex web layouts. The Grid Layout…

3 min
Read lesson →
Lesson 3

Responsive Web Design

Introduction to Responsive Web Design Responsive web design is about creating web pages that look good on all devices! A responsive web design will automatically adjust for different screen sizes and…

2 min
Read lesson →
Lesson 4

CSS Flexbox Intro Code Challenge

Challenge: Flexbox Intro Test your understanding of CSS Flexbox basics by completing a small coding challenge.

2 min
Read lesson →
Lesson 5

CSS Grid Intro Code Challenge

Challenge: CSS Grid Intro Test your understanding of CSS Grid basics by completing a small coding challenge.

2 min
Read lesson →
Lesson 6

CSS RWD Intro Code Challenge

CSS RWD Intro Code Challenge

2 min
Read lesson →
Lesson 7

CSS Flex Container

CSS Flex Container Properties The flex container element can have the following properties: display - Must be set to flex or inline-flex flex-direction - Sets the display-direction of flex items flex…

2 min
Read lesson →
Lesson 8

CSS Grid Container

CSS Grid Container A grid container contains one or more grid items arranged in columns and rows. All direct child elements of a grid container automatically become grid items. An element becomes a g…

2 min
Read lesson →
Lesson 9

Responsive Web Design - The Viewport

Responsive Web Design - The Viewport

2 min
Read lesson →
Lesson 10

CSS Flexbox justify-content

CSS justify-content Property The justify-content property aligns the flex items along the main-axis (horizontally). This property can have one of the following values: center flex-start (default) fle…

2 min
Read lesson →
Lesson 11

CSS Grid Tracks

CSS Grid Tracks (Rows and Colums) Inside the grid container you define the number and size of the grid columns and rows. For this, we will use the following properties: grid-template-columns - Define…

3 min
Read lesson →
Lesson 12

CSS RWD Viewport Code Challenge

Challenge: Viewport Test your understanding of the viewport meta tag by completing a small coding challenge.

2 min
Read lesson →
Lesson 13

CSS Flexbox Align

CSS align-items Property The align-items property aligns the flex items vertically (on the cross-axis). This property can have one of the following values: normal (default) stretch center flex-start…

2 min
Read lesson →
Lesson 14

CSS Grid Gap

CSS Grid Gaps The space between the rows and columns in a grid container are called gaps (or gutters ). The gaps are created between the grid rows and columns, not on the outer edges of the grid cont…

2 min
Read lesson →
Lesson 15

Responsive Web Design - Building a Grid View

Responsive Web Design - Building a Grid View

2 min
Read lesson →
Lesson 16

CSS Flex Container Code Challenge

Challenge: Flex Container Test your understanding of CSS Flex Container properties by completing a small coding challenge.

2 min
Read lesson →
Lesson 17

CSS Grid Container - Align Grid Content

CSS Grid Container - Align Grid Content Inside the grid container you can define the alignment of the grid content with the following properties: justify-content - Aligns the grid content when it doe…

4 min
Read lesson →
Lesson 18

CSS RWD Grid View Code Challenge

Challenge: RWD Grid View Test your understanding of RWD Grid View by completing a small coding challenge.

2 min
Read lesson →
Lesson 19

CSS Flex Items

CSS Flex Items The direct child elements of a flex container automatically becomes flex items. Flex items can have the following properties: order - Specifies the display order of the flex items insi…

3 min
Read lesson →
Lesson 20

CSS Grid Container Code Challenge

Challenge: Grid Container Test your understanding of CSS by completing a small coding challenge.

2 min
Read lesson →
Lesson 21visual

Responsive Web Design - Media Queries

Responsive Web Design - Media Queries

3 min
Read lesson →
Lesson 22

CSS Flex Items Code Challenge

Challenge: Flex Items Test your understanding of CSS Flex Items by completing a small coding challenge.

2 min
Read lesson →
Lesson 23

CSS Grid Items

CSS Grid Items A grid container contains one or more grid items. All direct child elements of a grid container automatically become grid items. Below is a grid container with five grid items: CSS Siz…

3 min
Read lesson →
Lesson 24

CSS Media Queries Code Challenge

Challenge: CSS Media Queries Test your understanding of CSS Media Queries by completing a small coding challenge.

2 min
Read lesson →
Lesson 25

CSS Responsive Flexbox

Responsive Flexbox You learned from the CSS Media Queries chapter that you can use media queries to create different layouts for different screen sizes and devices. For example, if you want to create…

2 min
Read lesson →
Lesson 26visual

CSS Naming Grid Items

CSS Naming Grid Items

2 min
Read lesson →
Lesson 27visual

Responsive Web Design - Images

Resize the browser window to see how the image scales to fit the page. Using The width Property If the width property is set to a percentage and the height property is set to "auto", the image will b…

3 min
Read lesson →
Lesson 28

CSS Responsive Flexbox Code Challenge

Challenge: Responsive Flexbox Test your understanding of Responsive Flexbox by completing a small coding challenge.

2 min
Read lesson →
Lesson 29

CSS Grid Items - Alignment

CSS Grid Items - Alignment

2 min
Read lesson →
Lesson 30

CSS RWD Images Code Challenge

Challenge: Responsive Images Test your understanding of Responsive Images by completing a small coding challenge.

2 min
Read lesson →
Lesson 31

CSS Grid Items - Order

Set the Visual Order of the Grid Items The CSS order property can be used to define the visual order of the grid items. The first grid item in the HTML source code does not have to appear as the firs…

2 min
Read lesson →
Lesson 32

Responsive Web Design - Videos

Using The width Property If the width property is set to 100%, the video player will be responsive and scale up and down: Example video { width: 100%; height: auto; } Notice that in the example above…

2 min
Read lesson →
Lesson 33

CSS Grid Items Code Challenge

Challenge: Grid Items Test your understanding of CSS by completing a small coding challenge.

2 min
Read lesson →
Lesson 34

CSS RWD Videos Code Challenge

Challenge: Responsive Videos Test your understanding of Responsive Videos by completing a small coding challenge.

2 min
Read lesson →
Lesson 35

CSS 12-Column Grid Layout

CSS 12-Column Grid Layout A 12-column grid is a common and flexible method for structuring web page content, particularly for responsive web design. The 12-column grid system divides the available ho…

3 min
Read lesson →
Lesson 36

Responsive Web Design - Frameworks

There are many free CSS Frameworks that offer Responsive Design. Using W3.CSS A great way to create a responsive design, is to use a responsive style sheet, like W3.CSS W3.CSS makes it easy to develo…

2 min
Read lesson →
Lesson 37

CSS 12-Column Grid Code Challenge

Challenge: 12-Column Grid Test your understanding of CSS 12-Column Grid layouts by completing a small coding challenge.

2 min
Read lesson →
Lesson 38

Responsive Web Design - Templates

Responsive Web Design - Templates

2 min
Read lesson →
Lesson 39visual

CSS @supports Rule

The CSS @supports Rule The @supports rule lets you check if the browser supports a specific CSS property or value, and to define fallback styles if the feature is not supported. This is useful for ap…

2 min
Read lesson →
Lesson 40

CSS @supports Code Challenge

Challenge: CSS @supports Test your understanding of CSS @supports by completing a small coding challenge.

2 min
Read lesson →