Home  >  Article  >  Web Front-end  >  Summary of css wildcard usage

Summary of css wildcard usage

韦小宝
韦小宝Original
2018-01-04 09:41:222959browse

cssThe meaning of wildcard characters. Friends who learn css will often use the CSS wildcard character. This chapter will talk about css wildcard.

css Study Notes 1

<style type="text/css"><!-- 
* a,table,p{font-size:12px;} 
--></style>

Wildly match the font size of all text under a, table, p.
The following a, table, p play a limiting role.

<style type="text/css"><!-- 
* {font-size:12px;} 
--></style>

Wildcard the font size of all text under the body.

The above is all the content of this article, I hope it will be helpful to everyone's study!

Related recommendations:

Detailed explanation of the difference between CSS class selectors and ID selectors

About CSS clearing floating methods

A brief analysis of CSS loading and loading order

The above is the detailed content of Summary of css wildcard usage. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn