@AudreyLovelace
Audrey Lovelace
@AudreyLovelaceAll comments
- @AudreyLovelace
notes for touchscreen
1.add {passive: true} for event listener as the 3rd parameter to prevent default scrolling.
2.event.preventdefault() also works but it's much more expensive so passive: true is preferable.
notes for element.style
1.element.style="something" will be erased when you declare element.style="another thing" else where.
- @AudreyLovelace@AudreyLovelace
.hero { display: grid; grid-template-columns: 1fr 1fr;
&_right { // @include border(); z-index: -1; display: block; position: relative; width: 150%; top: -50px; min-width: 400px; overflow-clip-margin: content-box; overflow: clip; }
}