How to add background image in Html and Css using visual studio code #html #htmltag #css

preview_player
Показать описание
In this video how to add background image in html and css by using visual Studio code .

please like, share and subscribe

Thanks for watching...
Рекомендации по теме
Комментарии
Автор

Just what I needed and under two and a half minutes. You're a hero

mothra
Автор

Как сделать подсветку html начального и конечного тегов в vsc? Например таких <div></div>

zewyfxz
Автор

bro my code i almost okay but error occure in image why ?

DecentJutt-pdib
Автор

when im zooming in or out only my navigation bar zooms and the background image stays as it is where is the problem? thanx

wow
Автор

why my background disappear after 1 sec

nurmuhammadafiq
Автор

Hi background-image not displaying in my downloaded file what should I do?

Allthat-wnyw
Автор

The background picture does not apear can you help me with my code? :)

yanasuncion
Автор

I have some other buttons and blocks. how to add image at the front

gisl
Автор

it dosent show this is all of my code


html code :
<!DOCTYPE html>
<html>
<head>
<title>demond legal job samp city</title>
<link rel="stylesheet" type="text=css" href="style.css/">
<div class="background">
</div>
</head>
</html>
css code :
body
{
margin: 0px;
padding: 0px;

}
.background
{
width: 100%;
height: 100vh;
\(1\).jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}

Dk_deadXD
welcome to shbcf.ru