2024onlinefontedteach/support.css
2024-10-31 21:37:52 +08:00

79 lines
1.3 KiB
CSS

*{
margin: 0;
padding: 0;
}
body{
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
#youyou_container{
width: 600px;
height: 400px;
background-color: white;
border: 5px solid #000000;
overflow: hidden;
position: relative;
}
#youyou_move{
display: flex;
height: 400px;
transition: transform 1s ease;
}
#youyou_move>*{
width: 600px;
height: 400px;
background-color: #ffffff;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
/* transition: all 1s; */
position: relative;
}
#youyou_move>*>*{
width: 100%;
height: 100%;
background-color: rgba(255,255,255,0.5);
background-position: center center;
background-repeat: no-repeat;
background-size: contain;
backdrop-filter: blur(5px);
}
#button_container{
width: 100%;
height: 100%;
box-sizing: border-box;
padding: 20px;
position: absolute;
top: 0;
display: flex;
align-items: center;
justify-content: space-between;
}
#button_container>*{
width: 40px;
height: 40px;
background-position: center center;
background-size: contain;
}
#left_button{
background-image: url('./pic/left_button.svg');
}
#right_button{
background-image: url('./pic/right_button.svg');
}