Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
<style type="text/css">
.test{
width: 100px;
height: 100px;
background-size: 100% 100%;
background-image: url('http://www.hackerboard.de/images/habo/buttons/reply.gif');
}
.test:hover{
background-image: url('http://www.hackerboard.de/images/habo/misc/habo-logo.png');
}
</style>
<div class="test"></div>
<style type="text/css">
.show{
width: 100px;
height: 100px;
background-size: 100% 100%;
background-image: url('http://www.hackerboard.de/images/habo/buttons/reply.gif');
}
/*
This formats the element with id "show" when the element before has the class "check" and is checked
~ instead of + means childs instead of its successor
*/
.check:checked + .show{
width: 100px;
height: 100px;
background-image: url('http://www.hackerboard.de/images/habo/misc/habo-logo.png');
}
</style>
<input class="check" type="checkbox"></input>
<div class="show">test</div>