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