Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Заголовок документа</title> <style> body { background: #c9c5c5; font-size: 20px; text-align: center; } main div { display: flex; align-items: center; justify-content: center; color: black; padding-top: 30px; padding-bottom: 30px; width: 200px; height: 100px; margin: 15px; font-weight: bold; background-color: #8ebf42; border: 10px solid; } .flex-center { display: flex; justify-content: center; } /* border-left-style example classes */ .b1 { border-left-style: hidden; } .b2 {border-left-style: dotted;} .b3 {border-left-style: dashed;} .b4 {border-left-style: solid;} .b5 {border-left-style: double;} .b6 {border-left-style: groove;} .b7 {border-left-style: ridge;} .b8 {border-left-style: inset;} .b9 {border-left-style: outset;} </style> </head> <body> <h2>Примеры значения border-left-style</h2> <main class="flex-center"> <div class="b1"> hidden </div> <div class="b2"> dotted </div> <div class="b3"> dashed </div> </main> <main class="flex-center"> <div class="b4"> solid </div> <div class="b5"> double </div> <div class="b6"> groove </div> </main> <main class="flex-center"> <div class="b7"> ridge </div> <div class="b8"> inset </div> <div class="b9"> outset </div> </main> </body> </html>