MyStyles.css: Difference between revisions

From Engineering Policy Guide
Jump to navigation Jump to search
Created page with " b { background-color: red; color: white; padding: 1em 1.5em; text-decoration: none; text-transform: uppercase; } b:hover { background-color: #555; } b:active { background-color: black; } b:visited { background-color: #ccc; }"
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
.my0 {
b {
   width:100%;
   background-color: red;
   overflow:auto;
  color: white;
  padding: 1em 1.5em;
  text-decoration: none;
  text-transform: uppercase;
}
 
b:hover {
   background-color: #555;
}
}


b:active {
.my1 {
   background-color: black;
  width:33%;
   float:left;
}
}


b:visited {
.your_div_id {
   background-color: #ccc;
  width: 855px;
  margin:0 auto;
   text-align: center;
}
}

Latest revision as of 12:59, 14 February 2025

.my0 {

 width:100%;
 overflow:auto;

}

.my1 {

 width:33%;
 float:left;

}

.your_div_id {

 width: 855px;
 margin:0 auto;
 text-align: center;

}