+ 1
Something like that? <!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <button id='text-blur' onclick='blurText()'>Blur text</button> <p id='text'> Hello world </p> </body> <script> function blurText(){ text = document.getElementById('text') text.style.filter = 'blur(5px)' } </script> </html>
29th Sep 2020, 11:59 AM
Ruba Kh
Ruba Kh - avatar