Change
Layout-init class on html
Issue description
It should be possible to style the document during the phase during page load where there the layout has not been set yet. The background is that a store has two big logos in the header which are downscaled in tiny. But since tiny is only set with a slight delay, the logos are first displayed big and only after the layout has been set, they are scaled creating a nasty effect.
By adding a init class the logos or the header can be initially hidden avoiding the effect.
Rejection comment
Turns out that an additional class is not necessary, since the desired behavior can be achieved with this:
[%#header {
display: none;
}
.tiny, .small, .standard, .wide {
#header {
display: block;
}
}%]
Or use media queries directly instead of %tiny%.
|
Work sessions
Start |
2018-02-16T11:12:00
|
End |
2018-02-16T11:19:07
|
Participant |
Robert Cerny
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.