The overflow of in-depth understanding of CSS

Course address: https://www.imooc.com/learn/256

 First, the basic properties of Overflow

IE6: Image stretches container

poor compatibility

If one of the overflows is set to visitable and the other is set to hidden or auto, then this will be reset to auto

So there will be vertical bars in the vertical direction

100% width can be deleted

2. Oveflow and scroll bars

Left: chrom browser, right: all other browsers

 

IE9 and above support 2

3. Overflow and block format context 

Under IE browser, DIV, P elements are suitable for bfc

4. Overflow and absolute positioning

Height 0 only works on  

5. Depends on the style performance of Overflow

no line break

6. Overflow and anchor technology

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325360356&siteId=291194637