fine-true
Version:
A small and beautiful Vue3 version of the UI Library
49 lines (44 loc) • 810 B
text/less
/*reset*/
ul,
li,
button {
margin: 0;
padding: 0;
list-style: none;
}
[class^='fine'] {
box-sizing: border-box;
}
[data-shadow] {
border-radius: inherit;
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
animation-iteration-count: 1;
animation-duration: 0.6s;
animation-timing-function: cubic-bezier(0, 0, 0.2, 1),
cubic-bezier(0, 0, 0.2, 1);
}
.fine-mask {
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
margin: 0 auto;
background: rgba(0, 0, 0, 0.5);
z-index: 10;
cursor: pointer;
}
.fine-fade-enter-active {
transition: all 0.3s ease-out;
}
.fine-fade-leave-active {
transition: all 0.3s cubic-bezier(1, 0.5, 0.8, 1);
}
.fine-fade-enter-from,
.fine-fade-leave-to {
opacity: 0;
}