mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 19:10:38 +02:00
preload :hover images
why don't browsers do this automatically? 💩
This commit is contained in:
@@ -180,6 +180,16 @@ h4 {
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
img.preload {
|
||||
/*
|
||||
preload hover images
|
||||
browsers don't load 0x0 images
|
||||
*/
|
||||
position: fixed;
|
||||
top: -9999px;
|
||||
left: -9999px;
|
||||
}
|
||||
|
||||
.jumbotron img {
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user