CSS Borders in 1 Minute #shorts #css

preview_player
Показать описание
CSS Borders in 1 Minute - One Minute Coding - CSS Tutorial for beginners

CSS Borders are a really cool feature of CSS. They let you create so many different looks and do so much to just a basic div. Here in one minute I show you all the basics of borders including style, border-style, width, border-width, and color, border-color, as well as a few shorthands.

Music:
Edited for this video to suit the format and length
Рекомендации по теме
Комментарии
Автор

<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
.box {
width: 250px;
height: 250px;
border-top: solid black 10px;
border-bottom: solid black 10px;
border-left: dotted orange 10px;
border-right: dotted orange 10px;
}

.parent {
display: flex;
}
</style>
</head>
<body>
<div class="parent">
<div class="box">

</div>
<div class="box">

</div>
</div>
</body>
</html>

TechbondhuBlog
Автор

this guy suprapasses singlehandedly all the expensive, long and boring courses out there with an entertaining educative YT short.
keep up the great work ❤

m._.amine_
Автор

As always, fantastic video Sina!

For debugging, I'd rather use "outline".
(doesn't affect the box model, so it doesn't mess up with the position of your elements like border)

wtl
Автор

you unlocked a new way of teaching skills. fantastic. keep it up

nahomaseged
Автор

I wonder about the time and effort for these animations and edits in video, kudos and cheers

nordicnomad
Автор

Thank you so much sir, i don't have any idea of coding but your tutorial gave me a lot of idea, my problem is gone by watching your tutorial my website now is looking good for my needs and i designed my website with the help of you.. now sir please help me how to add text above or below the box also using css elements is it posible? Thanks

DigitalAssets-gwzl
Автор

Does it take up the element's dimensions or ads to it?
Also the border shorthand is shufflable. Just wanted to point it out

AJD...