Stephan Liebig
Erfahrenes Mitglied
Ist es möglich, die Größe einer Ebene zu ändern, wenn man mit der Maus drüber fährt?
Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
.box {
width:200px;
height:200px;
background:#ffff00;
color:#000;
}
.box:hover {
width:400px;
height:400px;
}
<div class="box">box</div>
.box {
width:200px;
height:200px;
background:#ffff00;
color:#000;
}
.box:hover, .box_hover {
width:400px;
height:400px;
background:#ffff00;
color:#000;
}
<div class="box" onmouseover="this.className='box_hover'" onmouseout="this.className='box'">box</div>
.mypic {
width:150px;
height:182px;
/*background:#ffff00;*/
color:#000;
background-image:(./images/me/ich_small.jpg);
}
.mypic:hover, .mypic_hover {
width:370px;
height:450px;
/*background:#ffff00;*/
color:#000;
background-image:(./images/me/ich.jpg);
}
<div class="mypic" onmouseover="this.className='mypic_hover'" onmouseout="this.className='mypic'"></div>
.mypic {
width:150px;
height:182px;
/*background:#ffff00;*/
color:#000;
background-image: url(./images/me/ich_small.jpg);
}
.mypic:hover, .mypic_hover {
width:370px;
height:450px;
/*background:#ffff00;*/
color:#000;
background-image: url(./images/me/ich.jpg);
}