Home > front end >  Let's change to solve, the teacher give
Let's change to solve, the teacher give

Time:10-30

. Offset0 {margin - left: 0}
. Offset5 {margin - left: 5 px}
. Offset10 {margin - left: 10 px}
. Offset15 15 px} {margin - left:
. Offset20 {margin - left: 20 px}
. Top0 {margin - top: 0}
The top5 {margin - top: 5 px}
. Top 10 {margin - top: 10 px}
The top15 15 px} {margin - top:
The top20 {margin - top: 20 px}
. Borders {border: # 1 px solid d2e1f1}
The left {float: left}
{float: right. Right}
.align - left {text - align: left}
.align u-right} {text - align: right
. Acenter {text - align: center}
Fix: after {clear: both; Content: ""; display:block; Height: 0; Visibility: hidden}
. Hide {display: none}
. Show {display: block}
. Strong {the font - weight: bold}
. Normal {the font - weight: normal}
. No - bg {background: none! Important}
The opacity {- moz - opacity: 0.25; Opacity: 0.25; The filter: alpha (opacity=25)}
. The content {z - index: 1; Margin: 0 5 0 px; Zoom: 1}
. The reds,. The reds a {color: # F00}
, blue, blue a {color: # 0177 a7}
The f12 12 px} {the font - size:
The f14 14 px} {the font - size:
The f16 16 px} {the font - size:
That is to change the font color and how to add background o

CodePudding user response:

To change the font color is
. The reds,. The reds a {color: # F00}
, blue, blue a {color: # 0177 a7}

Add a background picture
. Bg {background: url (" background address "); }

CodePudding user response:

Changed or color not reaction, the background I in JSP & lt; Style type="text/CSS" & gt; Body {background - image: url (images/N2 JPG); Background - size: cover; } & lt;/style> Add up
  • Related