mediawiki-extensions-Multim.../resources/mmv/mmv.mixins.less

9 lines
380 B
Plaintext
Raw Normal View History

// from https://stackoverflow.com/a/12178019/323407
.fade-out-vertical( @backgroundColor: white ) {
background-image: linear-gradient( to bottom, @background-color-transparent 0%, @backgroundColor 100% ); // W3C
}
.fade-out-horizontal( @backgroundColor: white ) {
background-image: linear-gradient( to right, @background-color-transparent 0%, @backgroundColor 100% ); // W3C
}