Skip to content
This repository has been archived by the owner on Apr 1, 2021. It is now read-only.

Use calc() instead of multiple containers #5

Closed
joshfry opened this issue Mar 2, 2014 · 1 comment
Closed

Use calc() instead of multiple containers #5

joshfry opened this issue Mar 2, 2014 · 1 comment

Comments

@joshfry
Copy link
Owner

joshfry commented Mar 2, 2014

// Instead of using multiple containers, just use the css calc() unit

img.full-bleed {
  display: block;

  @include media(max-width 599px) {
    max-width: none;
    width: -webkit-calc(100% + 3em);
    width: calc(100% + 3em);
    margin-left: -1.5em;
  }
}
@joshfry
Copy link
Owner Author

joshfry commented Mar 2, 2014

changed the way fullbleed works

@joshfry joshfry closed this as completed Mar 2, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant