Style Rules List
background: red;
background: linear-gradient(rgba(255,255,255,0.75), rgba(255,255,255,0.75)), url("https://www.abc.com/img1.jpg") no-repeat;
background-color: red;
background-image: url("https://www.abc.com/image.jpeg");
background-repeat: no-repeat;
background-size: contain;
border: solid red;
border: 1px solid blue;
border-bottom: 1px solid red;
border-radius: 5px;
border-radius: 25%;
box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.50);
box-sizing: border-box;
clear: left; // element cannot have anything left of it
clear: right; // element cannot have anything right of it
color: red;
color: #FF0000;
color: rgba(224, 224, 224, 0.5); // light gray with 50% "see-through"
cursor: default; // arrow
cursor: pointer; // hand
display: block; // causes element to take entire width. can set height and/or width
display: grid; // need (grid-template-columns, width) and/or (grid-template-rows, height)
display: inline; // causes element not to take entire width. can't set height or width
display: inline-block; // like inline, but can set height and/or width
display: none;
grid-template: 200px 300px / 20% 10% 70%; // rows "/" columns
grid-template: 40% 50% 50px / 3fr 50% 1fr; // "fr" is "fractions" unit
grid-template: repeat(3, 1fr) / 3fr 50% 1fr;
grid-template-columns: 100px 50% 200px; // used with display: grid; and width: 800px;
grid-template-rows: 40% 50% 50px; // used with display: grid; and height: 1000px;
float: both;
float: left;
float: none;
float: right; // puts element at right and allows subsequent text to display to the left of this element
font-family: Arial;
font-family: cursive;
font-family: "Times New Roman", Times, serif;
font-size: 20px;
font-size: 2em;
font-weight: bold;
font-weight: 125;
height: 100px;
letter-spacing: 8px;
line-height: 24px;
line-height: 1.3em;
list-style: none; // with ol and ul
list-style: square; // with ol and ul
margin: 0;
margin: 10px 20px;
margin: 0 auto;
margin: 10px 20px 30px;
margin: 10px 20px 30px 40px;
margin-top: 100px;
max-height: 200px;
max-width: 600px;
min-height: 150px;
min-width: 450px;
opacity: 0.5;
overflow: hidden;
overflow: scroll;
overflow: visible;
padding: 0;
padding: 10px 20px; // top, bottom: 10px, left, right 20px
padding: 10px 20px 30px;
padding: 10px 20px 30px 40px; // top 10px, right 20px, bottom 30px, left 40px
padding-top: 100px;
position: absolute; // also need (top or bottom) and/or (right or left)
position: fixed;
position: relative; // also need (top or bottom) and/or (right or left)
position: static; // default
text-align: center;
text-align: left;
text-align: right;
text-decoration: none;
text-decoration: bold;
text-decoration: line-through overline underline;
text-transform: capitalize;
text-transform: uppercase;
transition: background .5s; // with :hover selector
visibility: hidden;
visibility: visible;
width: 750px;
width: 100%;
z-index: 10; // larger values "on top of" smaller values
Prev -- Up