add custom directives
This commit is contained in:
@@ -47,4 +47,51 @@ h4 > a:hover::before {
|
||||
|
||||
div > code, pre > code {
|
||||
@apply p-0 m-0 !important
|
||||
}
|
||||
|
||||
.slider {
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.image {
|
||||
width: 1000px;
|
||||
height: 600px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.right-arrow {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 0%;
|
||||
font-size: 2rem;
|
||||
rotate: 180deg;
|
||||
color: #bdbdbd;
|
||||
z-index: 10;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.left-arrow {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: -5%;
|
||||
font-size: 2rem;
|
||||
color: #bdbdbd;
|
||||
z-index: 10;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.slide {
|
||||
opacity: 0;
|
||||
transition-duration: 0.5s ease;
|
||||
}
|
||||
|
||||
.slide.active {
|
||||
opacity: 1;
|
||||
transition-duration: 0.5s;
|
||||
transform: scale(0.8);
|
||||
}
|
||||
Reference in New Issue
Block a user