CSS background: background:#00ffee; //Set the background color background-image:url(*.jpg); //Set the background image background-repeat:repeat-x; //Set the background image to repeat background-attachment:fixed; //Set the background not to scroll with the text CSS Text: text-indent: 5em; //Set text indent text-transform:uppercase/lowercase/capitalize; //Set text conversion case text-decoration:none/underline/overline/line-through/blink; //Set text decoration white-space:normal/pre; //Process whitespace color:#eeffee; //Set text color line-height:30px; //Set line height CSS fonts: font-family: Georgia; //Specify the font family font-style: normal/italic/oblique //Specify normal/italic/oblique text display font-weight: normal/bold/900; //Specify the thickness of the text font-size: 16px/em; //Specify the text size font-variant: small-caps; //Specify small capital letters CSS List: list-style-type:/decimal -- ordered list /decimal-leading-zero /lower-roman /upper-roman /lower-alpha /upper-alpha /disc -- Unordered list /circle /squre /decimal CSS tables: border-collapse: collapse; //Set the table to collapse border: 1px solid black; //Set the table edge width: 100%; //Set the table width height: 50px; //Set the table height text-align:right; //Set the alignment of the text in the table vertical-align:bottom //Set the vertical alignment of the table padding:15px; //Set the inner margin of the table color:white; //Set the font color in the table background-color:green; //Set the background color of the table CSS borders: outline: #00ff00 dotted thick; //Set outline color/style/width border: blue solid thin; //Set the outline |
<<: Nginx stream configuration proxy (Nginx TCP/UDP load balancing)
>>: How to select all child elements and add styles to them in CSS
Background: Some experiments need to be completed...
We know that when using HTML on NetEase Blog, we ...
Table of contents Overview How to achieve it Spec...
Preface Any application that can be written in Ja...
Copy code The code is as follows: <style type=...
This article shares the installation and configur...
Six steps of JDBC: 1. Register the driver 2. Get ...
1. Add skip-grant-tables to the my.ini file and r...
This article shares the specific code of JavaScri...
The google.html interface is as shown in the figur...
Table of contents 1. Introduction 2. Configuratio...
Table of contents Preface 1. Uninstall MySQL 2. I...
Learning objectives: The two functions parseInt()...
Table of contents Preface 1.v-show 2.v-if 3. The ...
Effect demo.html <html> <head> <me...