Search
 
SCRIPT & CODE EXAMPLE
 

CSS

CSS Border Width

p.one {
  border-style: solid;
  border-width: 5px;
}

p.two {
  border-style: solid;
  border-width: medium;
}

p.three {
  border-style: dotted;
  border-width: 2px;
}

p.four {
  border-style: dotted;
  border-width: thick;
}
Comment

border width css

.element {
  border-width: 2px;
}
Comment

border width css

p {
  border-style: solid;
  border-color: red;
  border-width: 5px;
}
/* You can also write above code in one line   */
p {
  border: 5px solid red;
}
Comment

border-width

border: 3px solid #3d3d3d
/* top | right | bottom | left */
border-width: 0 0 3px 3px

/*simulair to: */
border-left:  3px solid #3d3d3d
border-bottom:  3px solid #3d3d3d
Comment

border width css

#some-div {
  /* [WIDTH] [FILL MODE] [COLOR] */
  border: 5px solid #f00; 
  
  /* draws solid a red line of 5px
  between the padding (inside the div)
  and the margin (outside the div) */
}
Comment

PREVIOUS NEXT
Code Example
Css :: can we use multiple keyframes in css 
Css :: crop image instead of resize css 
Css :: div color overlay css 
Css :: rgb green 
Css :: image on top of image css 
Css :: child css 
Css :: cssnano 
Css :: css gradient 3 colors 
Css :: vertical align css 
Css :: change input placeholder text css 
Css :: import google fonts into react 
Css :: css variable 
Css :: square with 2 colors css 
Css :: input type file without button 
Css :: width not responding to css in table 
Css :: how to rotate image in css 
Css :: html css navbar with dropdown 
Css :: css list items next to each other 
Css :: make image background of div 
Css :: css percentrage minus px 
Css :: css good border color 
Css :: justify second line of ul 
Css :: css grid take 2 columns 
Css :: glass css 
Css :: tailwind background gradient 
Css :: how to center an overlay button using css transform and translate 
Css :: css td vertical align 
Css :: how to make fixed position responsive 
Css :: text-transform 
Css :: background linear gradient opacity css 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =