at first I thought css was simple, but I just wrote some styles
now it is found that these attributes influence each other and produce different effects,
such as the effect of an attribute, in this case, in that case, it feels a little messy
now you"ve learned
various elements / pseudo-elements / pseudo-class selectors, fonts / text / lists / tables, box models, backgrounds, borders, positioning, 2d3d, transition animation, and the basics
how to improve next? Want to know something in depth
for example:
- the default style of various elements at the beginning, such as whether the default width of div is auto or 100%
- float, locate, and what else will take the element out of the document stream The influence of
- elements on various aspects when they leave the document stream, such as after the element floats, it becomes an inline block element.
- there are various units, such as whose percentage units are relative to different attribute values
- who is the parent of the html element
- setting the line height to the text will stretch the element of the wrapped text high, provided that the element is not given a fixed height. How should this be understood?
in short, there may be a lot of knowledge that I haven"t mentioned here. Where can I learn it?