css中如何清除浮动: clear:both和BFC
摘要:clear:both 这种方式有两种做法 做法1 <!DOCTYPE html> <html> <head> <title>one</title> <style> .to-float { width: 100px; height: 100px; float: left; /* 不重要的部分 */ b
阅读全文
posted @ 2022-03-30 19:33
posted @ 2022-03-30 19:33
|
|||||||||
日 | 一 | 二 | 三 | 四 | 五 | 六 | |||
---|---|---|---|---|---|---|---|---|---|
26 | 27 | 28 | 29 | 30 | 31 | 1 | |||
2 | 3 | 4 | 5 | 6 | 7 | 8 | |||
9 | 10 | 11 | 12 | 13 | 14 | 15 | |||
16 | 17 | 18 | 19 | 20 | 21 | 22 | |||
23 | 24 | 25 | 26 | 27 | 28 | 1 | |||
2 | 3 | 4 | 5 | 6 | 7 | 8 |