| Current Path : /home/kamilrogam/poligon/projekty/SVG/css/ |
| Current File : /home/kamilrogam/poligon/projekty/SVG/css/style.css |
*{margin:0;padding:0}
body{
font-family: 'Didact Gothic', sans-serif
}
header {
position: fixed;
background: #fff;
width: 100%;
top: 0;
padding: 10px 0;
box-shadow:
0 0px 1px 5px #79d7ff,
0 5px 1px 5px #00a2e8,
0 10px 1px 5px #006088,
0 15px 1px 5px #003f59,
0 20px 1px 5px #00293c;
}
a{text-decoration: none}
.wrapper {
width: 90%;
margin: 0 auto;
position: relative
}
.flex-container {
display: flex;
flex-wrap: wrap;
}
h1 {
padding-left: 15px;
font-size: 55px;
line-height: 65px;
}
h1 span{position: relative;top:-150px;transition: 0.4s all ease-in-out}
.cl1 {
color: #00a2e8;
}
.cl2 {
color: #006088;
}
.cl3 {
color: #79d7ff;
}
.cl4 {
color: #003f59;
}
.svg{width: 65px;}
.svg-holder{position: relative}
svg{transform:rotate(90deg);max-width: 100%;height: auto;}
.inner-svg{position: absolute;left:50%;top:-100%;transition: 0.09s all ease-in-out}
.inner-svg:nth-child(1){width:99.99%}
.inner-svg:nth-child(2){width:83.33%}
.inner-svg:nth-child(3){width:66.66%}
.inner-svg:nth-child(4){width:50%}
.inner-svg:nth-child(5){width:33.33%}
.inner-svg:nth-child(6){width:16.66%}
svg:nth-child(even){animation: rotateLeft 5s 2s linear infinite}
svg:nth-child(odd){animation: rotateRight 5s 2s linear infinite}
@keyframes rotateLeft{
from{transform:rotate(90deg)}
to{transform:rotate(450deg)}
}
@keyframes rotateRight{
from{transform:rotate(90deg)}
to{transform:rotate(-270deg)}
}