You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
128 lines
2.3 KiB
CSS
128 lines
2.3 KiB
CSS
/* begin full-page app */
|
|
html, body{
|
|
padding: 0px;
|
|
margin: 0px;
|
|
}
|
|
body{
|
|
height: 100vh;
|
|
width: 100vw;
|
|
/* overflow: hidden; */
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
/* end full-page app */
|
|
|
|
.app{
|
|
height: 100%;
|
|
width: 100%;
|
|
padding: 0.4rem;
|
|
background-color: #AAAACC;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-wrap: nowrap;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.app > .top{
|
|
height: auto;
|
|
margin-bottom: 0.1rem;
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: nowrap;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.app > .main{
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-wrap: nowrap;
|
|
justify-content: flex-start;
|
|
|
|
flex: 1;
|
|
}
|
|
.app > .main > .notes{
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
|
|
flex: 1;
|
|
}
|
|
|
|
.note{
|
|
width: 17rem;
|
|
height: 17rem;
|
|
border: 1px solid black;
|
|
border-radius: 1rem;
|
|
background-color: #aaccaa;
|
|
padding: 0.6rem;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-wrap: nowrap;
|
|
justify-content: space-between;
|
|
|
|
animation: bounce-in-fwd 0.8s ease-in-out both;
|
|
}
|
|
|
|
.note > textarea{
|
|
flex: 1;
|
|
|
|
resize: none;
|
|
width: 100%;
|
|
background-color: #aaccaa;
|
|
border: none;
|
|
outline: none;
|
|
}
|
|
|
|
/* ----------------------------------------------
|
|
* Generated by Animista on 2021-4-12 15:12:16
|
|
* Licensed under FreeBSD License.
|
|
* See http://animista.net/license for more info.
|
|
* w: http://animista.net, t: @cssanimista
|
|
* ---------------------------------------------- */
|
|
|
|
/**
|
|
* ----------------------------------------
|
|
* animation bounce-in-fwd
|
|
* ----------------------------------------
|
|
*/
|
|
@keyframes bounce-in-fwd {
|
|
0% {
|
|
transform: scale(0);
|
|
animation-timing-function: ease-in;
|
|
opacity: 0;
|
|
}
|
|
38% {
|
|
transform: scale(1);
|
|
animation-timing-function: ease-out;
|
|
opacity: 1;
|
|
}
|
|
55% {
|
|
transform: scale(0.7);
|
|
animation-timing-function: ease-in;
|
|
}
|
|
72% {
|
|
transform: scale(1);
|
|
animation-timing-function: ease-out;
|
|
}
|
|
81% {
|
|
transform: scale(0.84);
|
|
animation-timing-function: ease-in;
|
|
}
|
|
89% {
|
|
transform: scale(1);
|
|
animation-timing-function: ease-out;
|
|
}
|
|
95% {
|
|
transform: scale(0.95);
|
|
animation-timing-function: ease-in;
|
|
}
|
|
100% {
|
|
transform: scale(1);
|
|
animation-timing-function: ease-out;
|
|
}
|
|
} |