Some common properties of CSS

Some common properties of CSS
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

Recommend

Application of mapState idea in vuex

Table of contents 1. Map method 2. Application ba...

Sharing of the fast recovery solution for Mysql large SQL files

Preface In the process of using MySQL database, i...

MySQL 5.7.20 free installation version configuration method graphic tutorial

I have seen many relevant tutorials on the Intern...

Introduction to HTML Chinese Character Encoding Standard

In HTML, you need to specify the encoding used by...

Adobe Brackets simple use graphic tutorial

Adobe Brackets is an open source, simple and powe...

CentOS 6-7 yum installation method of PHP (recommended)

1. Check the currently installed PHP packages yum...

Ubuntu 16.04 64-bit compatible with 32-bit programs in three steps

Step 1: Confirm the architecture of your system d...

How to implement https with nginx and openssl

If the server data is not encrypted and authentic...

Writing methods that should be prohibited in native JS

Table of contents Block-level functions Directly ...

Detailed steps for configuring Tomcat server in IDEA 2020

The steps for configuring Tomcat in IDEA 2020 are...

Vue imports Echarts to realize line scatter chart

This article shares the specific code of Vue impo...

MySQL 8.0.12 installation and configuration graphic tutorial

Recorded the download and installation tutorial o...

Resolving MySQL implicit conversion issues

1. Problem Description root@mysqldb 22:12: [xucl]...