Fancy gradient

HTML
<header></header> <div class="box"> <div class="wrapper"> <div class="img"> <div class="image"></div> <div class="title"> Name <span>CEO, Company</span> </div> </div> <div class="txt"> Lorem ipsum dolor sit <strong><i>AMET</i></strong>, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. </div> </div> <div class="wall"> <div class="item"></div> <div class="item"></div> <div class="item"></div> <div class="item"></div> <div class="item"></div> </div> </div> <footer></footer>
LESS
header { padding:2em; background:whitesmoke; } .box { background: linear-gradient(to bottom right, #973999, #f8598b, #f7bf00); display: flex; justify-content: center; align-items: center; flex-direction: column; padding: 2em; .wrapper { display: flex; align-items: center; justify-content: space-around; width: 100%; max-width: 960px; .img { .image { background: fade(white,8%); width: 150px; height: 150px; border-radius: 50%; } .title { color: white; text-align: center; margin-top:.75em; display:flex; flex-direction: column; line-height: 1.25rem; span { font-weight: bold; font-size: 80%; } } } .txt { padding: 2em; color: whitesmoke; font-size: 1.3em; font-weight: 300; letter-spacing: 1px; } } .wall { padding:1em; margin-top:2em; display:flex; .item { width: 200px; height: 50px; background: fade(white,8%); margin: 0 .5em; } } } footer { background: #0D283F; padding:8em; }
JAVASCRIPT
Expand for more options Login