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

Detailed tutorial of pycharm and ssh remote access server docker

Background: Some experiments need to be completed...

How to use html table (to show the visual effect of web page)

We know that when using HTML on NetEase Blog, we ...

How to implement an array lazy evaluation library in JavaScript

Table of contents Overview How to achieve it Spec...

Don’t bother with JavaScript if you can do it with CSS

Preface Any application that can be written in Ja...

Understanding of CSS selector weight (personal test)

Copy code The code is as follows: <style type=...

MySQL 8.0.11 MSI version installation and configuration graphic tutorial

This article shares the installation and configur...

Six-step example code for JDBC connection (connecting to MySQL)

Six steps of JDBC: 1. Register the driver 2. Get ...

What to do if you forget your password in MySQL 5.7.17

1. Add skip-grant-tables to the my.ini file and r...

Implementing a web calculator with native JavaScript

This article shares the specific code of JavaScri...

HTML form value transfer example through get method

The google.html interface is as shown in the figur...

VMware configuration VMnet8 network method steps

Table of contents 1. Introduction 2. Configuratio...

Detailed tutorial on installing MySQL database on Alibaba Cloud Server

Table of contents Preface 1. Uninstall MySQL 2. I...

JavaScript parseInt() and Number() difference case study

Learning objectives: The two functions parseInt()...

HTML+VUE paging to achieve cool IoT large screen function

Effect demo.html <html> <head> <me...