outline : value1 value2 value3;
|
<!DOCTYPE html>
<html lang="en"> <head> <style> .p1{ outline:solid; } .p2{ outline: dotted palevioletred thick; } .p3{ outline: 8px solid rgb(0, 153, 255) ; } .p4{ outline: thick ridge rgb(248, 17, 152); } </Style> <link rel="stylesheet" href="sample.css"> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> <p class="p1">this is a pera</p> <p class="p2">this is a pera</p> <p class="p3">this is a pera</p> <p class="p4">this is a pera</p> </body> </html> |