Background | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 2

Background

how to make the background img blur ?

21st Jun 2017, 11:27 AM
Abhi DG
Abhi DG - avatar
1 ответ
+ 2
You can blur the background image this way with CSS, exemple: .something { background-image: url("image.png"); -webkit-filter: blur(5px); -moz-filter: blur(5px); -o-filter: blur(5px); filter: blur(5px); } The prefix -webkit, -moz, -o is to ensure that your effect will be work in many browsers.
21st Jun 2017, 12:27 PM
Daniela Alves
Daniela Alves - avatar