Posted By

eklemen on 02/20/14


Tagged

inline forms question SASS mixin


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

kjensen


Inline form questions SASS mixin


 / Published in: SASS
 

Use to control inline or block questions at different media query breakpoints.

  1. @mixin inlineQuestion($first: false, $width:100%) {
  2. display: inline-block;
  3. margin-top: 0;
  4. width: $width;
  5. @if $first != true {
  6. margin-left: -0.3125em;
  7. padding-left: 3%;
  8. }
  9. }

Report this snippet  

You need to login to post a comment.