

SNIPPED GIÀ PRONTI E TESTATI
Progetto FREE
Tutti da inserire in oggetto html
Macchina da scrivere
OGGETTO HTML INCOMEDIA
Perfetto per dare un tocco dinamico alle intestazioni.
Un testo viene scritto in tempo reale come se fosse digitato.
CODICE | ||
<h2 id="typing"></h2> <script> var i = 0; var txt = "Benvenuto su Losmanettone.it!Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum"; var speed = 100; function typeWriter() { if (i < txt.length) { document.getElementById("typing").innerHTML += txt.charAt(i); i++; setTimeout(typeWriter, speed); } } window.onload = typeWriter; </script> |
Effetto Glitch
Simula un testo con un effetto glitch digitale.
Losmanettone.it
CODICE | ||
<h2 class="glitch">Losmanettone.it</h2> <style> @keyframes glitch { 0% { text-shadow: 2px 2px red, -2px -2px blue; } 20% { text-shadow: -2px -2px red, 2px 2px blue; } 40% { text-shadow: 2px -2px red, -2px 2px blue; } 60% { text-shadow: -2px 2px red, 2px -2px blue; } 80% { text-shadow: 2px 2px red, -2px -2px blue; } 100% { text-shadow: -2px -2px red, 2px 2px blue; } } .glitch { font-size: 2em; font-weight: bold; color: white; background: black; display: inline-block; padding: 10px; animation: glitch 0.2s infinite; } </style> |
Effetto Testo Oscillante
Il testo si muove dolcemente come un'onda.
Losmanettone.it
CODICE | ||
<h2 class="wave-text">Losmanettone.it</h2> <style> @keyframes wave { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(2deg); } 75% { transform: rotate(-2deg); } } .wave-text { display: inline-block; font-size: 2em; font-weight: bold; color: #ff5722; animation: wave 0.5s infinite alternate ease-in-out; } </style> |
Effetto Testo Sfumato
Il colore del testo cambia gradualmente con una sfumatura animata.
Losmanettone.it
CODICE | ||
<h2 class="gradient-text">Losmanettone.it</h2> <style> @keyframes gradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } .gradient-text { font-size: 2em; font-weight: bold; background: linear-gradient(45deg, #ff0000, #ff7300, #ffeb00, #0ff, #0088ff, #8a00ff); background-size: 300% 300%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: gradient 5s infinite alternate; } </style> |
Effetto Testo in loop
Il testo si ingrandisce e si riduce a loop.
Losmanettone.it
CODICE | ||
<h2 class="zoom-text">Losmanettone.it</h2> <style> @keyframes zoom { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } } .zoom-text { font-size: 2em; font-weight: bold; color: #0088ff; display: inline-block; animation: zoom 2s infinite ease-in-out; } </style> |
Effetto Testo Shake
Il testo vibra leggermente per attirare l’attenzione.
Losmanettone.it
CODICE | ||
<h2 class="shake-text">Losmanettone.it</h2> <style> @keyframes shake { 0% { transform: translateX(0); } 25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-5px); } 100% { transform: translateX(0); } } .shake-text { font-size: 2em; font-weight: bold; color: red; display: inline-block; animation: shake 0.5s infinite; } </style> |
Effetto Testo Raimbow
Il testo cambia colore con un effetto arcobaleno quando passi sopra.
Passa sopra il testo!
CODICE | ||
<h2 class="rainbow-text">Passa sopra il testo!</h2> <style> .rainbow-text { font-size: 2em; font-weight: bold; color: black; transition: background 0.5s ease-in-out; } .rainbow-text:hover { background: linear-gradient(45deg, red, orange, yellow, green, blue, indigo, violet); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } </style> |
Effetto Testo Shadow
Il testo ha un’ombra che si muove per creare un effetto 3D realistico.
Losmanettone.it
CODICE | ||
<h2 class="depth-shadow">Losmanettone.it</h2> <style> .depth-shadow { font-size: 2em; font-weight: bold; color: #000000; text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5); transition: all 0.3s ease-in-out; } .depth-shadow:hover { text-shadow: 10px 10px 20px rgba(0, 0, 0, 0.8); transform: translateY(-5px); } </style> |