Skip to content

Why em unit is used #265

@lusarz

Description

@lusarz

Briefly ( tweet size ) describe your issue and how you discovered it.

I'm just curious - what is the reason em unit is used, instead of px. em is calculated based on font size, so when I use .container class inside element which have default font-size set to 30px, my lg breakpoint is calculated to 20 * 75em = 2250px

Expected behavior

...

Actual behavior

...

Steps to reproduce behavior

  • OS:
  • Browser:
  • code/fiddle/pen url:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions