abstrait:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> &nb
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <style> div{ width: 500px; height: 500px; background: red; float: left; margin-right: 40px; margin-bottom: 40px; } div.box1{ border: 5px solid green; } div.box2{ border: 5px double blue; } div.box3{ border: 5px dashed pink; } div.box4{ border: 5px dotted #000; } div.box5{ border-top: 5px solid #000; border-bottom: 5px dashed #000; } </style> </head> <body> <div class="box1"></div> <div class="box2"></div> <div class="box3"></div> <div class="box4"></div> <div class="box5"></div> </body> </html>
在本小節(jié)課程中,學習到關于盒模型加邊框的知識,其中邊框線可以分為border-left、border-top、border-right、border-bottom;邊框線有實線、點劃線、雙邊框線、虛線,在實際使用中,可以根據(jù)不同的需求使用不同的邊框線、不同的上、下、左、右邊框
Professeur correcteur:天蓬老師Temps de correction:2019-04-16 13:44:31
Résumé du professeur:邊框的控制非常的靈活和復雜, 在設計 邊框的時候, 不可以太炫的, 一定要風格統(tǒng)一, 簡潔為主