Skip to content

Commit

Permalink
Set 'display: none;' for Anti FOUC (resolves vodkabears#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
vodkabears committed Jun 6, 2015
1 parent 5a9971d commit 9367458
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/remodal.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ html.remodal-is-locked {

.remodal,
[data-remodal-id] {
visibility: hidden;
display: none;
}

/* Necessary styles of the overlay */
Expand Down Expand Up @@ -67,12 +67,10 @@ html.remodal-is-locked {
.remodal {
position: relative;

display: inline-block;

text-size-adjust: 100%;
}

.remodal-is-initialized {
/* Disable Anti-FOUC */
visibility: visible;
display: inline-block;
}

0 comments on commit 9367458

Please sign in to comment.