57 lines
1.3 KiB
Plaintext
57 lines
1.3 KiB
Plaintext
<script
|
|
src="https://code.jquery.com/jquery-3.4.1.slim.min.js"
|
|
integrity="sha256-pasqAKBDmFT4eHoN2ndd6lN370kFiGUFyTiUHWhU7k8="
|
|
crossorigin="anonymous"></script>
|
|
|
|
<style>
|
|
@-moz-keyframes spin {
|
|
from { -moz-transform: rotate(0deg); }
|
|
to { -moz-transform: rotate(360deg); }
|
|
}
|
|
@-webkit-keyframes spin {
|
|
from { -webkit-transform: rotate(0deg); }
|
|
to { -webkit-transform: rotate(360deg); }
|
|
}
|
|
@keyframes spin {
|
|
from {transform:rotate(0deg);}
|
|
to {transform:rotate(360deg);}
|
|
}
|
|
|
|
.square {
|
|
height: 50px;
|
|
width: 50px;
|
|
background-color: cyan;
|
|
margin : 10px;
|
|
}
|
|
.circle {
|
|
height: 50px;
|
|
width: 50px;
|
|
background-color: blue;
|
|
border-radius: 50%;
|
|
margin : 10px;
|
|
}
|
|
.oval {
|
|
height: 50px;
|
|
width: 100px;
|
|
background-color:red;
|
|
border-radius: 50%;
|
|
margin : 10px;
|
|
}
|
|
#source{
|
|
display: flex;
|
|
}
|
|
|
|
#container{
|
|
min-height: 200px;
|
|
border: 2px solid black;
|
|
width: 125px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
}
|
|
|
|
|
|
|
|
</style> |