CSS shadow (#6) 👥

preview_player
Показать описание
css shadow effects
css shadow box
css shadow tutorial

Coding boot camps hate him! See how he can teach you to code with this one simple trick...

Bro Code is the self-proclaimed #1 tutorial series on coding in various programming languages and other how-to videos in the known universe.
Рекомендации по теме
Комментарии
Автор

<!DOCTYPE html>
<html>

<head>

<link rel="stylesheet" type="text/css" href="style.css">

</head>
<body>

<h1>Shadow Demo</h1>

</body>

</html>

/* CSS */
h1{
border: 1px solid;
width: 200px;
padding:25px;
background-color: black;
color: white;
border-color: black;
/*color: white;*/

text-shadow: 0px 0px 5px yellow, 0px -5px 5px red;
/*
horizontal (px)
vertical (px)
blur (px)
color (name, rgb, hex)
*/

box-shadow: 10px 10px 5px
/*
horizontal (px)
vertical (px)
blur (px)
color (name, rgb, hex)
*/
}

BroCodez
Автор

Since Bro haven't posted :) And yeah Thanks for these awesome tutorials <3
From html file:

<!DOCTYPE html>
<html lang="en">
<head>
<title>Document</title>
<link rel="stylesheet" type="text/css" href="shadow.css">
</head>
<body>
<h1>Shadow Demo</h1>
</body>
</html>



From CSS file:


h1{
border: 1px solid;
width: 200px;
padding: 25px;
background-color: black;
color: white;
border-color: gold;

text-shadow: 0px 0px 5px yellow, 0px -5px 5px orange, 0px -8px 5px red, 0px -10px 5px darkred;
/*
horizontal (px)
vertical (px)
blur (px)
color (name, rgb, hexadecimal)
*/
box-shadow: 10px 10px 7px rgb(41, 40, 40);
/*
horizontal (px)
vertical (px)
blur (px)
color (name, rgb, hexadecimal)
*/
}

likithshetty
Автор

/*Maybe Bro forgot to post the code. Thanks for each of your videos!*/
<!DOCTYPE html>
<html>

<head>
<link rel="stylesheet" type="text/css" href="style.css">


</head>
<body>
<h1>Shadow Demo</h1>

</body>

</html>


/* CSS */
h1{
border: 1px solid;
width: 200px;
padding: 25px;
background-color: black;
color: white;
border-color: black;

text-shadow: 0px 0px 5px yellow, 0px -5px 5px red;
/*
horizontal (px)
vertical (px)
blur (px)
color (name, rgb, hex)
*/

box-shadow: 10px 10px 5px
/*
horizontal (px)
vertical (px)
blur (px)
color (name, rgb, hex)
*/
}