-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
44 lines (38 loc) · 817 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
div {
position: relative;
}
div input {
position: absolute;
bottom: 0;
left: 0;
width: 100% !important;
height: auto !important;
margin: 0;
padding: 12px;
background: linear-gradient(0deg, #fff 42%, rgba(255, 255, 255, 0) 100%);
text-align: center;
border: none !important;
outline: none !important;
appearance: none !important;
box-shadow: none !important;
cursor: pointer;
}
div input::before {
content: 'Read More';
color: #000 !important;
font-size: 1.5em;
}
div input+article {
height: 250px;
overflow-y: hidden;
}
div input:checked {
display: none !important;
}
div input:checked::before {
content: '';
}
div input:checked+article {
height: auto;
overflow-y: auto;
}