“Lebar perbatasan CSS” Kode Jawaban

Lebar perbatasan CSS

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;
}
naly moslih

Lebar perbatasan CSS

.element {
  border-width: 2px;
}
Cheerful Cockroach

perbatasan 1 px tebal

.beispielEins {                      
  border: solid #ccc;
  border-width: 3px;
}
Enchanting Eel

Lebar perbatasan CSS

element {
	border-width: 10px;
  	/* Or use shorthand border property */
  	/* width style colour */
  	border: 10px solid black;
}
Coding Random Things

Lebar perbatasan 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) */
}
Major Barnulf

lebar perbatasan

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
abdelghanyMh

Jawaban yang mirip dengan “Lebar perbatasan CSS”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya