File tree 2 files changed +57
-0
lines changed
2 files changed +57
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!Doctype html>
2
+ < html >
3
+
4
+ < head >
5
+
6
+ < style type ="text/css ">
7
+ p .bw1 {border-style : solid; border-width : 5px }
8
+ p .bw2 {border-style : solid; border-width : medium;}
9
+ p .bw3 {border-style : solid; border-width : 1px ;}
10
+ p .bc1 {border-style : solid; border-color : red;}
11
+ p .bc2 {border-style : solid; border-color : # 98bf21 ;}
12
+ p .bs
13
+ {
14
+ border-top-style : dotted;
15
+ border-right-style : solid;
16
+ border-bottom-style : dotted;
17
+ border-left-style : solid;
18
+ }
19
+ </ style >
20
+
21
+ < title > CSS Border</ title >
22
+
23
+ </ head >
24
+
25
+ < body >
26
+
27
+ < h1 > CSS Border</ h1 >
28
+
29
+ < h4 > Border Width</ h4 >
30
+
31
+ < p class ="bw1 "> Some text.</ p >
32
+ < p class ="bw2 "> Some text.</ p >
33
+ < p class ="bw3 "> Some text.</ p >
34
+
35
+ < h4 > Border Color</ h4 >
36
+
37
+ < p > Used to set the color of the border</ p >
38
+
39
+ < ul >
40
+ < li > name - specify a color name, like "red"</ li >
41
+ < li > RGB - specify a RGB value, like "rgb(255, 0, 0)"</ li >
42
+ < li > Hex - specify a hex value, like "#ff0000"</ li >
43
+ </ ul >
44
+
45
+ < p class ="bc1 "> A solid red border</ p >
46
+ < p class ="bc2 "> Asolid green border</ p >
47
+
48
+ < h4 > It is possible to specify different borders for different sides</ h4 >
49
+
50
+ < p class ="bs "> 2 different border styles.</ p >
51
+
52
+
53
+
54
+ </ body >
55
+
56
+ </ html >
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ <h1>CSS Test Suite Main Page</h1>
20
20
< a href ="lists.html "> Lists</ a > < br />
21
21
< a href ="tables.html "> Tables</ a > < br />
22
22
< a href ="box_model.html "> Box Model</ a > < br />
23
+ < a href ="border.html "> Border</ a > < br />
23
24
24
25
</ body >
25
26
You can’t perform that action at this time.
0 commit comments