Home > front end >  Self learning summary
Self learning summary

Time:09-28

New week new start, with no foundation first learning to the front of me is really difficult, a week of learning from the most basic simple tag to the list in the border style to the CSS structure various selectors all kinds of properties not exaggerated seriously is a solid head feel really is very important, as the saying goes, building foundation to steady foundation instability of house in luxuriant also is falling off, then take our box model, for instance some people will ask what is the composition of box model it has what? For I am new to it really is a face ah, now let's come back to meet "box model" what box model is: it is the foundation of CSS layout, it specifies the page elements shows how well the relationship between the elements and it is a control element and the element, or the location of the relationship between the elements and Content between CSS definition can have all the elements like box shape and plane space contains our Content (Content) padding (populated area) border (border) margin (from outside) this is the box model, can also understand like Courier so it will have we buy goods is Content to have some fragile will put some foam to fill the position that is populated area of the outer box is,
Fill area attributes: padding it can write px or % of attribute value, note: must be positive,
From outside attributes: margin margin: 0 auto; Centered label level effect, margin: - 5 px; It can realize tag in the opposite direction adjustment, can write negative note: it is
The margin values of a single direction: margin - top (top margin) margin - right (the right margin) margin - bottom (bottom margin) margin - left (left) to follow is right on the left, clockwise direction writing standards,
Single border property border: border - and you want to set the direction for example left margin: border - left (left margin)
Their composite writing: four values on lower left; Under the three values on the left and right; 2 value and lower left and right, this note!
Our border lines such as: solid point dashed line dotted dotted line, etc.,
Key must remember how application now my foundation is not firm, still have to study hard for the practice beyond the former yourself, inverse class war!

CodePudding user response:

Where is the quote

CodePudding user response:

reference 1st floor m0_46387061 response:
where the class
training institutions

CodePudding user response:

CodePudding user response:

Can understand well you
  • Related