-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
60 lines (56 loc) · 1010 Bytes
/
main.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
Created on : Mar 28, 2021, 9:09:11 PM
Author : moham
*/
html{
height: 100%;
}
body{
height: 100%;
margin: 0;
font-family: sans-serif;
}
.app {
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
}
.slideshow{
flex: 1;
background-color: grey;
position: relative;
overflow: hidden;
}
.header{
text-align: center;
padding: 20px 0;
}
.header select{
font-size: 20px;
}
.header h1{
margin: 0 0 10px 0;
}
.slide{
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
background-repeat: no-repeat;
background-size: contain;
background-position: center center;
opacity: 0;
transform: scale(1);
transition: all .9s ease-out;
}
.slide:nth-last-child(2){
opacity: 1;
transform: scale(1.08);
}