Background introduction:
I came into contact with the news release system. This is also my first B/S project. From the previous drag and drop space, random layout to today's HTML, there will always be many It is fresh, tricky and challenging, but no matter what form it is, it is inseparable from the basic steps: doing the front-end and doing the back-end. It can be said that a neat and beautiful interface is inseparable from the modification of CSS. Of course, it is just the tip of the iceberg for making web pages beautiful. Others include JavaScript, PHP and other technologies suitable for different conditions. After learning so far, I will make a summary of the CSS style sheets I have just come into contact with.
Concept:
CSS (Cascading Style Sheets) is a computer language used to represent file styles such as HTML or XML. It plays a very good role in unifying and standardizing our interface.
Understanding:
The CSS language is not very difficult. What we need to do is to clearly distinguish the objects we want to modify. In our own map, there are two parts: elements and objects. The object is a part that is very worthy of emphasis. When we need to modify a certain part, we need to determine which part it belongs to. In the CSS format, use "* globally. " means; ID is the only identifier that represents this object, represented by "#"; class is represented by "."; when we need to set multiple objects to the same style, we only need to let them have the same class name, and then This class can be modified; of course, we can also put some controls in a container and modify the container!
The above are some of my understanding and gains in CSS learning. What we need to do is to clarify the ownership relationship between each object, and then become familiar with the properties of each object, so that we can complete the basic Style design. Finally, I would like to express my personal thoughts. CSS is also an object-oriented language, and it is also a language created by experts in line with the development trend of the times. I would like to pay tribute to them!