A basic (and common) layout. A main column of text with sidebar stacked underneath. When space becomes available the sidebar displays next to the main column.
A Pen by Brad Frost on CodePen.
background: linear-gradient(49deg, #25bf97, #ca11e8, #5f0ea1, #1e9de4, #2b4c8c, #2f3238, #232323, #c63f3f, #f52626); | |
background-size: 1800% 1800%; | |
-webkit-animation: AnimationName 29s ease infinite; | |
-moz-animation: AnimationName 29s ease infinite; | |
-o-animation: AnimationName 29s ease infinite; | |
animation: AnimationName 29s ease infinite; | |
@-webkit-keyframes AnimationName { | |
0%{background-position:0% 97%} | |
50%{background-position:100% 4%} | |
100%{background-position:0% 97%} |
background: linear-gradient(49deg, #25bf97, #ca11e8, #5f0ea1, #1e9de4); | |
background-size: 800% 800%; | |
-webkit-animation: lzzAnimatedGradient 60s ease infinite; | |
-moz-animation: lzzAnimatedGradient 60s ease infinite; | |
-o-animation: lzzAnimatedGradient 60s ease infinite; | |
animation: lzzAnimatedGradient 60s ease infinite; | |
@-webkit-keyframes lzzAnimatedGradient { | |
0%{background-position:0% 97%} | |
50%{background-position:100% 4%} | |
100%{background-position:0% 97%} |
background: linear-gradient(49deg, #6000ff, #ff00c8, #07b1ff, #07ffca, #8cff07, #ffd907, #ff1407, #ff0772); | |
background-size: 1600% 1600%; | |
-webkit-animation: AnimationName 27s ease infinite; | |
-moz-animation: AnimationName 27s ease infinite; | |
-o-animation: AnimationName 27s ease infinite; | |
animation: AnimationName 27s ease infinite; | |
@-webkit-keyframes AnimationName { | |
0%{background-position:0% 78%} | |
50%{background-position:100% 23%} | |
100%{background-position:0% 78%} |
body{ background: -webkit-linear-gradient(45deg, #085078 10%, #85d8ce 90%); | |
background: -moz-linear-gradient(45deg, #085078 10%, #85d8ce 90%); | |
background: -ms-linear-gradient(45deg, #085078 10%, #85d8ce 90%); | |
background: -o-linear-gradient(45deg, #085078 10%, #85d8ce 90%); | |
background: linear-gradient(45deg, #085078 10%, #85d8ce 90%); | |
} |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Swiper demo</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1"> | |
<!-- Link Swiper's CSS --> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.0.4/css/swiper.css"> |
<button type="button">I look amazing</button> |