how to set border length in css without div
div {
width : 200px;
height : 50px;
position: relative;
z-index : 1;
background: #eee;
}
div:before {
content : "";
position: absolute;
left : 0;
bottom : 0;
height : 1px;
width : 50%; /* or 100px */
border-bottom:1px solid magenta;
}
Also in CSS:
- css font type
- css min width
- link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"
- css display grid
- css transition transform
- css center table on page
- css cursor pointer
- scss to css
- how to set border length in css without div
- simple font-face mixin scss
- css no bottom ouline
- css circle with overlay
- acf true false field default value
- font weight css
- css position property
- lorem.picsum
- text vertical align css
- css prevent line wrap
- italic in css
- how to remove bevel effect from button css
- word wrap css
- position background image
- font roboto css
- css rotate text