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