Inline form questions SASS mixin


/ Published in: SASS

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


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.