fix question example code for id: 587d78a7367417b2b2512ae0
parent
cf98d8b964
commit
c99edf8609
|
@ -15,6 +15,9 @@ dashedName: use-css-animation-to-change-the-hover-state-of-a-button
|
|||
|
||||
```html
|
||||
<style>
|
||||
img {
|
||||
width: 30px;
|
||||
}
|
||||
img:hover {
|
||||
animation-name: width;
|
||||
animation-duration: 500ms;
|
||||
|
|
|
@ -15,6 +15,9 @@ dashedName: use-css-animation-to-change-the-hover-state-of-a-button
|
|||
|
||||
```html
|
||||
<style>
|
||||
img {
|
||||
width: 30px;
|
||||
}
|
||||
img:hover {
|
||||
animation-name: width;
|
||||
animation-duration: 500ms;
|
||||
|
|
|
@ -15,6 +15,9 @@ Here's an example of changing the width of an image on hover:
|
|||
|
||||
```html
|
||||
<style>
|
||||
img {
|
||||
width: 30px;
|
||||
}
|
||||
img:hover {
|
||||
animation-name: width;
|
||||
animation-duration: 500ms;
|
||||
|
|
|
@ -15,6 +15,9 @@ Aquí hay un ejemplo de como cambiar el ancho de una imagen al pasar sobre ella:
|
|||
|
||||
```html
|
||||
<style>
|
||||
img {
|
||||
width: 30px;
|
||||
}
|
||||
img:hover {
|
||||
animation-name: width;
|
||||
animation-duration: 500ms;
|
||||
|
|
|
@ -15,6 +15,9 @@ Ecco un esempio di cambiamento della larghezza di un'immagine quando ci si passa
|
|||
|
||||
```html
|
||||
<style>
|
||||
img {
|
||||
width: 30px;
|
||||
}
|
||||
img:hover {
|
||||
animation-name: width;
|
||||
animation-duration: 500ms;
|
||||
|
|
|
@ -15,6 +15,9 @@ Aqui está um exemplo de alteração da largura de uma imagem ao passar o cursor
|
|||
|
||||
```html
|
||||
<style>
|
||||
img {
|
||||
width: 30px;
|
||||
}
|
||||
img:hover {
|
||||
animation-name: width;
|
||||
animation-duration: 500ms;
|
||||
|
|
Loading…
Reference in New Issue