PHP Classes

File: engine/modules/contrib/foundation/source/scss/components/_sticky.scss

Recommend this page to a friend!
  Classes of Aldo Tripiciano   Quanta CMS   engine/modules/contrib/foundation/source/scss/components/_sticky.scss   Download  
File: engine/modules/contrib/foundation/source/scss/components/_sticky.scss
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Quanta CMS
Manage content that works without a database
Author: By
Last change:
Date: 5 years ago
Size: 541 bytes
 

Contents

Class file image Download
// Foundation for Sites by ZURB // foundation.zurb.com // Licensed under MIT Open Source @mixin foundation-sticky { .sticky-container { position: relative; } .sticky { position: relative; z-index: 0; transform: translate3d(0, 0, 0); } .sticky.is-stuck { position: fixed; z-index: 5; &.is-at-top { top: 0; } &.is-at-bottom { bottom: 0; } } .sticky.is-anchored { position: relative; right: auto; left: auto; &.is-at-bottom { bottom: 0; } } }