Circles
by Andrey Izman
HTML
<section class="b-key-figures"><a class="c-force-anchor" id="block-2"></a>
<div class="b-key-figures__container">
<div class="l-key-figures">
<div class="l-key-figures__circle">
<div class="c-circle-objects">
<div class="c-circle-objects__1"></div>
<div class="c-circle-objects__2"></div>
<div class="c-circle-objects__3"></div>
<div class="c-circle-objects__4"></div>
</div>
</div>
<div class="l-key-figures__title">
<div class="h-wysiwyg-html">
<a id="about" data-hs-anchor="true" class="c-force-anchor"></a>
<h2><span> Where does it come from?</span></h2>
<p>
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
</p>
</div>
</div>
</div>
</div>
</section>
CSS
body {
background-color: rgb(24, 26, 27);
color: rgb(172, 165, 154);
padding-top: 70px
}
@media (min-width: 1200px)
.b-key-figures {
margin: 0 2rem;
}
.b-key-figures {
position: relative;
display: block;
min-height: 700px;
}
.h-wysiwyg-html {
text-align: center;
padding: 10px 100px;
}
@media (min-width: 992px)
.b-key-figures__container {
padding: 8rem 0;
}
.b-key-figures__container {
margin-left: auto;
margin-right: auto;
width: calc(100% - 40px);
max-width: 1280px;
padding-left: 0;
padding-right: 0;
padding: 5rem 0;
position: relative;
}
.l-key-figures {
margin-left: -15px;
margin-right: -15px;
}
@media (min-width: 768px)
.l-key-figures__circle {
display: block;
}
.l-key-figures__circle {
/* display: none; */
opacity: .4;
/* overflow: hidden; */
position: absolute;
top: 3rem;
right: 0;
bottom: 3rem;
left: 0;
}
.c-circle-objects {
transition: all 2s cubic-bezier(0.19,1,0.22,1);
width: 100%;
padding-top: 100%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
z-index: -1;
pointer-events: none;
}
.c-circle-objects__1, .c-circle-objects__2, .c-circle-objects__3, .c-circle-objects__4 {
position: absolute;
background-repeat: no-repeat;
background-size: contain;
background-position: center;
animation: spin 50s linear infinite;
}
.c-circle-objects__1 {
top: 9%;
left: 9%;
width: 82%;
height: 82%;
animation: spin 190s linear infinite;
}
.c-circle-objects__2 {
top: 0;
left: 0;
width: 100%;
height: 100%;
animation: spin 30s linear infinite;
}
.c-circle-objects__3 {
top: 3%;
left: 3%;
width: 94%;
height: 94%;
}
.c-circle-objects__4 {
top: 6%;
left: 6%;
width: 88%;
height: 88%;
animation: spin 80s linear infinite;
}
.c-circle-objects__1 {
background-image:...