// 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 }