-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptdesc.css
54 lines (45 loc) · 1.03 KB
/
optdesc.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
.optdesc p{
height: 14px;
overflow: hidden;
opacity: 0.3;
border-bottom: 1px solid #cccccc;
transition: all 1s;
}
.optdesc .selecionado{
height: auto;
opacity: 1;
transition: all 1s;
}
.optdesc .mostrardescricao div{
width: 90px;
text-align: center;
margin: 0 auto;
cursor: pointer;
}
.optdesc .mostrardescricao div span{
display: block
}
.optdesc .mostrardescricao div span.mais:after{
content: 'mostrar mais';
font-size: 12px;
}
.optdesc .mostrardescricao div span.menos:after{
content: 'mostrar menos';
font-size: 12px;
}
.optdesc .mostrardescricao div .imais{
transform: translateY(-10px);
transition: transform .2s;
}
.optdesc .mostrardescricao div:hover .imais {
transform: translateY(0px);
transition: transform .2s;
}
.optdesc .mostrardescricao div .imenos{
transform: rotate(180deg);
transition: transform .2s;
}
.optdesc .mostrardescricao div:hover .imenos {
transform: translateY(-10px) rotate(180deg);
transition: transform .2s;
}