@font-face {
font-family: "OpenSans";
src: url("fonts/opensans.woff2") format("woff2")
url("fonts/opensans.woff") format("woff") ;
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "OpenSans";
src: url("fonts/opensansbold.woff2") format("woff2"),
url("fonts/opensansbold.woff") format("woff");
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: "Open Sans";
src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"),
url("/fonts/OpenSans-Regular-webfont.woff") format("woff");
font-display: swap;
}
body {
font-family: "Open Sans", Verdana, Tahoma, Arial, sans-serif;
}
.grid{
display: flex;
flex-wrap :wrap;
<div class="container">
<div class="row">
<div class="col-lg-3"></div>
<div class="col-lg-3"></div>
<div class="col-lg-3"></div>
<div class="col-lg-3"></div>
</div>
</div>
animation:coin 5s infinite;
.coin{
display:block;
background:url('https://2ch.hk/b/arch/2018-05-23/src/176403732/15270649403080.jpg');
background-size: 100% 100%;
width:120px;
height:120px;
border-radius:50%;
animation:coin 5s infinite;
}
@keyframes coin {
0% {
width: 120px;
margin-left:0px;
}
50% {
width: 0px;
margin-left:60px;
}
100% {
width: 120px;
margin-left:0px;
}
}