how to add border in css
.div1{
border: 10px;
border-color: #000000;
border-style: solid;
}
how to add border in css
.div1{
border: 10px;
border-color: #000000;
border-style: solid;
}
border in html
The CSS border property defines a border around an HTML element.
Use of CSS border property:
p {
border: 2px solid powderblue;
}
css border
p{
border: 1px solid #f00;
/* Set Border For Only Specific Side */
border-left: 1px solid #00f;
border-right: 1px solid #00f;
border-top: 1px solid #00f;
border-bottom: 1px solid #00f;
/* Another Rules Can Be Applied*/
border-top-style: solid dashed dotted;
border-top-width: 2px;
border-top-color: #00f;
/* Apply Also For Right, Bottom And Left*/
}
/*
Border ShortHand
border: border-width border-style border-color
*/
css border
/*Chill border for everyday usage */
border: dashed 2px rgb(168, 219, 231);
border-radius: 10px;
CSS Border
h1 {border-top: 5px solid red;}
h2 {border-top: 4px dotted blue;}
div {border-top: double;}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us