一、继承特性:
1、学过Java和C++的都注意到,属于父亲的protected字段或方法肯定会被孩子所继承,而CSS也具备此特性,看下面的例子:
The above is the detailed content of Detailed explanation of CSS inheritance and cascading properties. For more information, please follow other related articles on the PHP Chinese website!