Round image of the author with a thin blue line around the image

Sebi Vidret

Product Marketing Manager

,

June 22, 2022

bbin电竞赛事开盘网站

Follow product marketing manager Sebi Vidret's step-by-step guide on how to create a full height section using grid calculations and section sizing properties.

How to create a full height section.

What is a full height section?

In a full height section, the design covers the entire height of the screen or the viewport, which is the canvas where the site is displayed. In a browser, the viewport does not include the address bar or the rest of the interface.

How do you set it up?

To create a full height section, we’ll use the vh unit of measurement, which lets us calculate values based on height. Setting the section height to 100vh means that the section will take up 100% of the viewport height. This measurement lets us adjust the height of the section according to the viewport, which means the design will also adjust.

How is it calculated?

For this design , we’ll apply a 3x3 grid with 3 columns and 3 rows and we’ll adjust the rows and columns.


  • Column 1: set as 56%

  • Columns 2 and 3: 1fr by default so they’ll divide the remaining area equally


The rows will create the height of the section so we’ll give them a vh value.


  • Row 1: The header row is set as 10vh

  • Rows 2 and 3: set as 45vh

  • Total for 3 rows: 100vh


The 3 rows will cover the full height of the viewport. If the rows total less than 100vh then they won't cover the full height of the viewport. If they’re more than 100vh, then there’ll be a vertical scroll.

Vh is also relevant for margins when creating responsive designs so that the elements’ position will adjust as the viewport height adjusts.

Can you set the header to be a fixed height?

As the height of the viewport adjusts, the header section automatically adjusts as well. Sometimes you want to adjust the size of the rows but not the header. Pixels are ideal here so we can be precise with our calculations.


  • The header is set to be 66 px high so that it’s fixed in size

  • Row 1: Set as calc (50vh - 33 px)

  • Row 2: Set be calc (50vh - 33 px)

  • Total rows 1 &2: 100vh minus 66px from the header


When you view the design in preview, the header is fixed and does not adjust as the viewport adjusts.

How to create a full height section.
What is a full height section?
How do you set it up?
How is it calculated?
Can you set the header to be a fixed height?
Round image of the author with a thin blue line around the image

Sebi Vidret

Product Marketing Manager

I am an bbin电竞 Product Marketing Manager, focused on the planning & execution of the bbin电竞 education initiatives. Being obsessed with website development, I built my first site at 13 years old. Now I teach these skill to other aspiring creators. When I'm not designing on bbin电竞 , you can find me making asado, playing soccer, and drinking mate with friends.

Did you find this lesson helpful?

Thank you for your feedback!

Related learning resources.

VIDEO LIBRARY

Title

Description

Watch Now

LESSONS & EXERCISES

Title

Description

Start Lesson

VIDEO LIBRARY

Title

Description

Watch Now

LESSONS & EXERCISES

Title

Description

Start Lesson

Ready to start creating?

bbin电竞_bbin电竞手机版_bbin电竞赛事开盘网站
bbin电竞_bbin电竞手机版_bbin电竞赛事开盘网站
LESSONS & EXERCISES
bbin电竞_bbin电竞手机版_bbin电竞赛事开盘网站
bbin电竞 Essentials
bbin电竞_bbin电竞手机版_bbin电竞赛事开盘网站
Design & Layouting
bbin电竞_bbin电竞手机版_bbin电竞赛事开盘网站
Interactions & Effects
bbin电竞_bbin电竞手机版_bbin电竞赛事开盘网站
Elements & Components
bbin电竞_bbin电竞手机版_bbin电竞赛事开盘网站
Web Concepts
bbin电竞_bbin电竞手机版_bbin电竞赛事开盘网站
Content Management
bbin电竞_bbin电竞手机版_bbin电竞赛事开盘网站
Code & Dev
bbin电竞_bbin电竞手机版_bbin电竞赛事开盘网站
Collaboration
bbin电竞_bbin电竞手机版_bbin电竞赛事开盘网站
VIDEO TUTORIALS
bbin电竞_bbin电竞手机版_bbin电竞赛事开盘网站
bbin电竞 Essentials
bbin电竞_bbin电竞手机版_bbin电竞赛事开盘网站
Design & Layouting
bbin电竞_bbin电竞手机版_bbin电竞赛事开盘网站
Interactions & Effects
bbin电竞_bbin电竞手机版_bbin电竞赛事开盘网站
Elements & Components
bbin电竞_bbin电竞手机版_bbin电竞赛事开盘网站
Web Concepts
bbin电竞_bbin电竞手机版_bbin电竞赛事开盘网站
Code & Dev
bbin电竞_bbin电竞手机版_bbin电竞赛事开盘网站
Collaboration
bbin电竞_bbin电竞手机版_bbin电竞赛事开盘网站
bbin电竞_bbin电竞手机版_bbin电竞赛事开盘网站
bbin电竞_bbin电竞手机版_bbin电竞赛事开盘网站
ACADEMY MENU ▶
bbin电竞_bbin电竞手机版_bbin电竞赛事开盘网站

Top searches

People are searching for

Video tutorial introducing the bbin电竞 workspace with an overview of the responsive layouting and design tools.

VIDEO LIBRARY

Introducing bbin电竞

Discover the bbin电竞 workspace. Get an introduction to your advanced layouting tools and an overview of responsive web design features like breakpoints, flexbox and CSS grid.

Video introducing the bbin电竞 workspace with an overview of the responsive layouting tools and design capabilities.

VIDEO LIBRARY

Getting Started

Learn the basics of creating a site on bbin电竞 . Get a step by step walkthrough covering the key features and capabilities.

Thumbnail indicating interactions. Orange background with a shaded orange container over it. In the middle of the container is a white logo.

LESSONS & EXERCISES

Hover Interactions

Design dynamic web experiences by adding a variety of interactions to any element on hover. Customize the interaction settings for every breakpoint, from transform adjustment to advanced design capabilities and timing control.

See all results ▶
 
CCG电子竞技赛程查询平台 棋牌电竞线上抽注 英雄联盟竞猜排名赛事网址 pc蛋蛋28开奖今日体彩 玩嘉电竞网站博注 英雄联盟竞猜比赛4.10.1