table {
color: black;
background-color: white;
border-color: black;
border-style: solid;
border-width: 0 1px 1px 1px;
border-radius: 5px;
border-collapse: collapse;
border-spacing: 0;
display: block;
overflow: auto;
width: 100%;
thead {
th {
color: white;
background-color: black;
font-weight: bold;
font-size: 0.8em;
padding: 5px 10px;
vertical-align: bottom;
}
th:first-child {
border-top-left-radius: 5px;
}
th:last-child {
border-top-right-radius: 5px;
}
}
tbody {
td {
border-top: 1px solid gray;
padding: 5px 10px;
vertical-align: top;
}
tr:nth-child(2n) {
background-color: lightgray;
}
}
}
Code Example |
---|
Css :: css grid responsive |
Css :: iphne media query csss |
Css :: deep selector |
Css :: place two div elements next to each other |
Css :: move scrollbar on element to right side |
Css :: overflow-y scroll css |
Css :: how to hide text that is longer than its parent div |
Css :: constraint barrier example |
Css :: css media query overflow |
Css :: variables in sass |
Css :: css set text color |
Css :: declare variables for color in css |
Css :: .txt:hover { text-decoration: underline; } |
Css :: hide image title on hover css |
Css :: sass loader |
Css :: css em |
Css :: vertical align text inside div |
Css :: mobile first media queries |
Css :: css syntax |
Css :: css grayscale image |
Css :: text-overflow ellipsis hover tooltip css |
Css :: keyframes scss |
Css :: css 2 divs nebeneinander |
Css :: nth child |
Css :: adding quotes css |
Css :: css local variable |
Css :: css change image height |
Css :: are the iphone dimensions widht then height |
Css :: comment in css |
Css :: set custom cursor |