Sizes and Units

Share the link to this page
Copied
  Completed

In this section, we look into what’s wrong with our project units.

  • Module Introduction
  • What's Wrong With Our Project Units?
  • Where Units Matter
  • An Overview of Available Sizes and Units
  • Rules to Remember: Fixed Positioning & "%"
  • Rules to Remember: Absolute Positioning & "%"
  • Rules to Remember: Relative / Static Positioning & "%"
  • Fixing the Height 100% Issue
  • Defining the Font Size in the Root Element
  • Using "min-width/height" and "max-width/height"
  • Working with "rem" and "em"
  • Adding "rem" to Additional Properties
  • Finishing "rem"
  • Understanding the Viewport Units "vw" and"vh"
  • Choosing the Right Unit
  • Using "auto" to Center Elements
  • Cleaning Up our Code
  • Wrap Up

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.