Add transition effect to box-shadow
This commit is contained in:
parent
d3b2da856e
commit
1cce73db41
|
@ -116,10 +116,12 @@ body {
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
background-color: #feffea;
|
background-color: #feffea;
|
||||||
box-shadow: 0 0 12px #0004;
|
box-shadow: 0 0 12px #0004;
|
||||||
|
|
||||||
|
transition: box-shadow 0.1s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-question:hover {
|
.section-question:hover {
|
||||||
box-shadow: 0 0 24px #0008;
|
box-shadow: 0 0 18px #0008;
|
||||||
}
|
}
|
||||||
|
|
||||||
#warning {
|
#warning {
|
||||||
|
|
Reference in New Issue