Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed The CSS calc() Function!
You have completed The CSS calc() Function!
Preview
Learn how to create fluid grid columns with calc(), using multiplication and division operators.
Resources
Related courses
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
Now you're gonna learn how to
create fluid grid columns with calc
0:00
using multiplication and
division operators.
0:02
You'll often use a grid framework, or
0:06
layout tool,
to help you define fluid grid columns.
0:08
But it's also common to build your own.
0:11
Building fluid grid columns
requires calculations
0:14
that determine a column's
width value in percentages.
0:17
So you're gonna see how simple it is
to define these calculations with CSS.
0:20
And you can follow along in Workspaces by
clicking the Launch Workspace button on
0:26
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up