A. Sprites
| 1 | <!DOCTYPE html> |
| 2 | <html lang="es"> |
| 3 | |
| 4 | <head> |
| 5 | <meta charset="UTF-8"> |
| 6 | <meta name="viewport" |
| 7 | content="width=device-width"> |
| 8 | <title>Sprite</title> |
| 9 | <style> |
| 10 | .sprite { |
| 11 | position: fixed; |
| 12 | font-size: 3rem; |
| 13 | } |
| 14 | </style> |
| 15 | </head> |
| 16 | |
| 17 | <body> |
| 18 | <h1>Sprite</h1> |
| 19 | <p> |
| 20 | Este ejemplo te muestra como |
| 21 | colocar una figura en |
| 22 | cualquier lugar de la |
| 23 | ventana. |
| 24 | </p> |
| 25 | <output class="sprite" |
| 26 | style="left: 100px; |
| 27 | bottom: 150px"> |
| 28 | 😄 |
| 29 | </output> |
| 30 | </body> |
| 31 | |
| 32 | </html> |
skip_previous
skip_next