0

How can I get effect like this one marked on picture in SASS with Susy Compass?

I've tried using bleed mixin but border is on top. Is there a mixin with similar functionality and z-index? Menu is set to float left and content to float right. If there isn't one, how can I obtain this effect?

1 Answer 1

1

The issue is z-index (not transparency), and you can take care of that yourself, without any special mixin. Just add your own z-index value in addition to the bleed mixin. (z-index also requires positioning other-than static):

.item {
  @include bleed(...);
  position: relative;
  z-index: 20; // adjust as needed...
}
1
  • Thank You for answer. I've was using z-index, but I didn't set position like You did. That was a source of a problem:) Feb 9, 2014 at 13:05

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.