Spoiler CSS
This commit is contained in:
parent
b95e6bc85f
commit
10fdb21874
1 changed files with 17 additions and 0 deletions
|
@ -52,3 +52,20 @@ kbd
|
||||||
text-shadow: 0 1px 0 #fff
|
text-shadow: 0 1px 0 #fff
|
||||||
line-height: 1.4
|
line-height: 1.4
|
||||||
white-space: nowrap
|
white-space: nowrap
|
||||||
|
|
||||||
|
|
||||||
|
// Spoiler tag
|
||||||
|
|
||||||
|
img.spoiler // Images
|
||||||
|
filter: blur(25px);
|
||||||
|
transition-property: -webkit-filter;
|
||||||
|
transition-duration: .2s;
|
||||||
|
|
||||||
|
|
||||||
|
div.spoiler, span.spoiler, section.spoiler // Text
|
||||||
|
filter: blur(5px)
|
||||||
|
transition-property: -webkit-filter
|
||||||
|
transition-duration: .2s
|
||||||
|
|
||||||
|
.spoiler:hover, .spoiler:focus
|
||||||
|
filter: blur(0px);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue