Summary: In order to make your web page look more beautiful, here you will see some commonly used styles in CSS3. Great for beginners! One day the great roc rises with the wind and soars up to 90,000 miles! Learn together and make progress together! 1. Font size unit 2. Font style
Note: Multiple values can be set for line, style, and color. 3. Text shadow
Note: A positive offset moves to the right; a negative offset moves to the left. Try a variety of shades text-shadow:-1px -px 1px #aaa, 0px 4px 1px rgba(0,0,0,0.5), 4px 4px 5px rgba(0,0,0,0.7), 0px 0px 7px rgba(0,0,0,0.4); The effect diagram is as follows: 4. Text layout
p::first-line{ letter-spacing: 2px; word-spacing: 4px; } As shown in the figure below, the first sentence is styled, while the last sentence is not styled. 5. Let’s look at some more important attributes Font style ... Text layout style ... 6. Font abbreviation In the following order: Among them, A complete example is as follows: font: italic normal bold normal 3em/1.5 Helvetica,Arial,san-serif; The above are all important knowledge points summarized with reference to the most authoritative MDN Web Docs. I hope you can share them with me. If there are any inappropriate comments, you are welcome to comment! This concludes this article on the detailed explanation of commonly used styles in CSS3 [Basic text and font styles]. For more relevant CSS3 commonly used styles, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope everyone will support 123WORDPRESS.COM in the future! |
<<: Comparison of storage engines supported by MySQL database
>>: Vue backend management system implementation of paging function example
Pure front-end implementation:切片上傳斷點續傳.斷點續傳needs ...
Everyone has played the pinball and brick-breakin...
Table of contents Preface optimization Extract va...
1. Replace your .js library file address with the...
Overview of MySQL Partitioned Tables As MySQL bec...
1. An error (1064) is reported when using mysqldu...
Table of contents 1. Props Parent >>> Ch...
1. Introduction This article does not have screen...
MySQL 5.7.8 and later began to support a native J...
The first cutter in China github.com/chokcoco Fir...
This article example shares the specific code of ...
I have always wanted to learn about caching. Afte...
The LIKE operator is used in the WHERE clause to ...
The installation of mysql5.7.18zip version on Win...
Bash Initialization Files Interactive login shell...