css border style
CSS
/*
* border-style:
solid: A solid, continuous line.
none (default): No line is drawn.
hidden: A line is drawn, but not visible. this can be handy for adding a little extra width to an element without displaying a border.
dashed: A line that consists of dashes.
dotted: A line that consists of dots.
double: Two lines are drawn around the element.
groove: Adds a bevel based on the color value in a way that makes the element appear pressed into the document.
ridge: Similar to groove, but reverses the color values in a way that makes the element appear raised.
inset: Adds a split tone to the line that makes the element appear slightly depressed.
outset: Similar to inset, but reverses the colors in a way that makes the element appear slightly raised.
*/
/* Example using the typical solid border-style */
div {
border: 1px solid #4e1f9d;
}p.dotted {border-style: dotted;}
p.dashed
{border-style: dashed;}
p.solid {border-style: solid;}
p.double
{border-style: double;}
p.groove {border-style: groove;}
p.ridge
{border-style: ridge;}
p.inset {border-style: inset;}
p.outset
{border-style: outset;}
p.none {border-style: none;}
p.hidden {border-style: hidden;}
p.mix {border-style: dotted dashed solid double;} div {
border-style: dotted;
}.bordersA {
/* Singe rule. Adds a 1px black solid border */
border: 1px solid #000000;
}
/* Multi rule for better width control */
.bordersB {
border-color: #000000;
border-style: solid;
/* TOP & BOTTOM: 5px, LEFT & RIGHT: 20px */
border-width: 5px 20px;
/* OR - TOP: 5px, RIGHT: 20px, BOTTOM: 10px, LEFT: 15px */
border-width: 5px 20px 10px 15px;
}
/* Specific rules for even further width, style & color control */
.borderTopWarning {
/* Replace `top` with `right`, `bottom` or `left` */
border-top-color: #b52e2e;
border-top-style: dashed;
border-top-width: 3px;
}h1 {
border: 5px solid red;
}hr {
border:none;
border-top:1px dashed #f00;
color:#fff;
background-color:#fff;
height:1px;
width:50%;
}
Also in CSS:
- Title
- transparent button css
- Category
- CSS
- Title
- css style scrollbar
- Category
- CSS
- Title
- css grid layout
- Category
- CSS
- Title
- how to overlay text on an image css
- Category
- CSS
- Title
- Unable to load authentication plugin 'caching_sha2_password'. dbeaver
- Category
- CSS
- Title
- add image under header html
- Category
- CSS
- Title
- position an icon in relation a parent element
- Category
- CSS
- Title
- svg tailwind
- Category
- CSS
- Title
- css text align left
- Category
- CSS
- Title
- css center vertically
- Category
- CSS
- Title
- css box shadow not on bottom
- Category
- CSS
- Title
- add css style sheet with javascript
- Category
- CSS
- Title
- css flex center horizontally and vertically
- Category
- CSS
- Title
- css background image fit
- Category
- CSS
- Title
- css preprocessor
- Category
- CSS
- Title
- get data from firestore and save it to state
- Category
- CSS
- Title
- css keyframes animation
- Category
- CSS
- Title
- how to link to a css file in html
- Category
- CSS
- Title
- background image in css
- Category
- CSS
- Title
- aos animate
- Category
- CSS
- Title
- css change class name start with
- Category
- CSS
- Title
- loading screen svg and css animation
- Category
- CSS
- Title
- how to push text to the right css
- Category
- CSS
- Title
- css first td
- Category
- CSS
- Title
- css blink animation
- Category
- CSS
- Title
- margin in css
- Category
- CSS
- Title
- make image darker in css
- Category
- CSS
- Title
- css float
- Category
- CSS
- Title
- css backdrop filter grayscale
- Category
- CSS
- Title
- css zen garden
- Category
- CSS
- Title
- javascript alternative to jquery css
- Category
- CSS
- Title
- center vertically and horizontally css
- Category
- CSS
- Title
- background color gradient css
- Category
- CSS
- Title
- line spacing css
- Category
- CSS
- Title
- css keep background image from scrolling
- Category
- CSS
- Title
- change border highlight color on an input text element
- Category
- CSS
- Title
- Node.js: printing to console without a trailing newline
- Category
- CSS
- Title
- how to change height font css
- Category
- CSS
- Title
- text wrap image wordpress css
- Category
- CSS
- Title
- javascript set css calss
- Category
- CSS
- Title
- center ul
- Category
- CSS
- Title
- access lamp folder using terminal mac
- Category
- CSS
- Title
- css blur background
- Category
- CSS
- Title
- css background video
- Category
- CSS
- Title
- scale an image css
- Category
- CSS
- Title
- css background image size
- Category
- CSS
- Title
- css disable mouse events
- Category
- CSS
- Title
- get element with href css
- Category
- CSS
- Title
- kotlin exit app
- Category
- CSS
- Title
- corona.html:61 Uncaught ReferenceError: $ is not defined
- Category
- CSS
- Title
- html css position
- Category
- CSS
- Title
- google fonts css
- Category
- CSS
- Title
- css text bold
- Category
- CSS
- Title
- custom scroll bar
- Category
- CSS
- Title
- ram
- Category
- CSS
- Title
- responsive images css
- Category
- CSS
- Title
- font awesome css link
- Category
- CSS
- Title
- css :focus
- Category
- CSS
- Title
- button css
- Category
- CSS
- Title
- html css make p div into two lines
- Category
- CSS
- Title
- on hover chang only border color of a button css
- Category
- CSS
- Title
- choose grid position html
- Category
- CSS
- Title
- :root css
- Category
- CSS
- Title
- vertical align h1 inside div
- Category
- CSS
- Title
- scss hover
- Category
- CSS
- Title
- how to apply different properties to different paragraphs in css
- Category
- CSS
- Title
- css no overflow
- Category
- CSS
- Title
- jquery element css
- Category
- CSS
- Title
- css border width
- Category
- CSS
- Title
- xcrun: error: SDK "iphoneos" cannot be located
- Category
- CSS
- Title
- css to hide scrollbar
- Category
- CSS
- Title
- css tricks media queries
- Category
- CSS
- Title
- media queries les plus utilisees
- Category
- CSS
- Title
- css change text
- Category
- CSS
- Title
- React include css
- Category
- CSS
- Title
- using foundation css to add social media links
- Category
- CSS
- Title
- center div in middle of page
- Category
- CSS
- Title
- css text style
- Category
- CSS
- Title
- bem in nested element
- Category
- CSS
- Title
- increase space between border dots css
- Category
- CSS
- Title
- all cursor types
- Category
- CSS
- Title
- css push div down
- Category
- CSS
- Title
- how to use direct child for ol in css
- Category
- CSS
- Title
- css how to style id
- Category
- CSS
- Title
- make text unselectable css
- Category
- CSS
- Title
- anchor links scrolling too far
- Category
- CSS
- Title
- not disabled css
- Category
- CSS
- Title
- button hover css
- Category
- CSS
- Title
- html link to css in another folder
- Category
- CSS
- Title
- how to margin placeholdr text
- Category
- CSS
- Title
- svg to css converter
- Category
- CSS
- Title
- css backdrop filter blut
- Category
- CSS
- Title
- css hover rounded corners
- Category
- CSS
- Title
- media query change button text
- Category
- CSS
- Title
- Scaling Images and Videos css
- Category
- CSS
- Title
- rotate 3d
- Category
- CSS
- Title
- font family css list
- Category
- CSS
- Title
- change css jquery
- Category
- CSS
- Title
- how to import background image in inline css in react
- Category
- CSS
- Title
- how to add an image in css
- Category
- CSS