File tree 21 files changed +42
-43
lines changed
21 files changed +42
-43
lines changed Original file line number Diff line number Diff line change 9
9
- ✔ Simple CSS
10
10
- ✔ Generated Content
11
11
- ✔ Cross Browser Support
12
- - ❓ Performance
12
+ - ✖ Performance
13
13
14
14
### [CSS Shapes ](shapes)
15
15
20
20
- ✖ Simple CSS
21
21
- ✖ Generated Content
22
22
- ✖ Cross Browser Support
23
- - ❓ Performance
23
+ - ✖ Performance
24
24
25
25
### [Gradient Background Image ](gradient)
26
26
31
31
- ✔ Simple CSS
32
32
- ✔ Generated Content
33
33
- ✖ Cross Browser Support
34
- - ❓ Performance
34
+ - ✔ Performance
35
35
36
36
### [SVG Background Image ](svg )
37
37
42
42
- ❓ Simple CSS
43
43
- ✔ Generated Content
44
44
- ✔ Cross Browser Support
45
- - ❓ Performance
45
+ - ✔ Performance
46
46
47
47
### [SVG Mask ](svg-mask )
48
48
53
53
- ✖ Simple CSS
54
54
- ✖ Generated Content
55
55
- ✖ Cross Browser Support
56
- - ❓ Performance
56
+ - ✖ Performance
57
57
58
58
### [CSS3 2D Transforms ](transforms)
59
59
64
64
- ✖ Simple CSS
65
65
- ✖ Generated Content
66
66
- ✖ Cross Browser Support
67
- - ❓ Performance
67
+ - ✖ Performance
Original file line number Diff line number Diff line change 1
1
body {
2
2
background-color : # 607D8B ;
3
+ color : white;
4
+ font-family : "Lucida Console" , Monaco, monospace;
3
5
}
4
6
5
- h1 , h2 {
6
- color : white;
7
+ a , a : visited {
8
+ color : inherit;
9
+ text-decoration : none;
10
+ }
11
+
12
+ h1 , h2 , h3 {
7
13
text-align : center;
8
14
font-weight : 400 ;
9
- font-family : "Lucida Console" , Monaco, monospace;
10
15
}
11
16
12
17
.demo {
@@ -54,7 +59,7 @@ section footer {
54
59
.image .above section header ,
55
60
.image .below section footer {
56
61
height : calc (var (--height ) * 2 );
57
- background-image : url (https://unsplash.it/500/500? image=1030 );
62
+ background-image : url (image.jpg );
58
63
background-size : cover;
59
64
background-position : bottom;
60
65
}
@@ -91,4 +96,4 @@ section footer {
91
96
.vertical {
92
97
--height : 300px ;
93
98
--width : 100px ;
94
- }
99
+ }
Original file line number Diff line number Diff line change @@ -85,9 +85,9 @@ section::after {
85
85
86
86
[ Supported on all browsers] ( http://caniuse.com/#search=border-color )
87
87
88
- ## ❓ Performance
88
+ ## ✖ Performance
89
89
90
- > ** TODO **
90
+ ![ ] ( performance.png )
91
91
92
92
## Demo
93
93
Original file line number Diff line number Diff line change 1
-
2
1
<!DOCTYPE html>
3
2
< html >
4
3
< head >
5
4
< meta charset ="UTF-8 "/>
6
5
< title > Diagonal Separator [Borders]</ title >
7
6
8
7
< link rel ="stylesheet " href ="style.css "/>
9
- < link rel ="stylesheet " href ="../layout.css "/>
8
+ < link rel ="stylesheet " href ="../assets/ layout.css "/>
10
9
</ head >
11
10
12
11
< body >
13
- < h1 > Diagonal Separator [Borders]</ h1 >
12
+ < h2 > Diagonal Separator [Borders]</ h2 >
14
13
15
14
< div class ="demo plain ">
16
15
< section >
Original file line number Diff line number Diff line change @@ -70,9 +70,9 @@ section::after {
70
70
71
71
> Supported in all major browsers, with the exception of ` Opera Mini ` .
72
72
73
- ## ❓ Performance
73
+ ## ✔ Performance
74
74
75
- > ** TODO **
75
+ ![ ] ( performance.png )
76
76
77
77
## Demo
78
78
Original file line number Diff line number Diff line change 1
-
2
1
<!DOCTYPE html>
3
2
< html >
4
3
< head >
5
4
< meta charset ="UTF-8 "/>
6
5
< title > Diagonal Separator [Gradient Background Image]</ title >
7
6
8
7
< link rel ="stylesheet " href ="style.css "/>
9
- < link rel ="stylesheet " href ="../layout.css "/>
8
+ < link rel ="stylesheet " href ="../assets/ layout.css "/>
10
9
</ head >
11
10
12
11
< body >
13
- < h1 > Diagonal Separator [Gradient Background Image]</ h1 >
12
+ < h2 > Diagonal Separator [Gradient Background Image]</ h2 >
14
13
15
14
< div class ="demo plain ">
16
15
< section >
Original file line number Diff line number Diff line change 79
79
80
80
[ Partial support] ( http://caniuse.com/#feat=css-clip-path )
81
81
82
- ## ❓ Performance
82
+ ## ✖ Performance
83
83
84
84
> ** TODO**
85
85
Original file line number Diff line number Diff line change 1
-
2
1
<!DOCTYPE html>
3
2
< html >
4
3
< head >
5
4
< meta charset ="UTF-8 "/>
6
5
< title > Diagonal Separator [CSS Shapes]</ title >
7
6
8
7
< link rel ="stylesheet " href ="style.css "/>
9
- < link rel ="stylesheet " href ="../layout.css "/>
8
+ < link rel ="stylesheet " href ="../assets/ layout.css "/>
10
9
</ head >
11
10
12
11
< body >
13
- < h1 > Diagonal Separator [CSS Shapes]</ h1 >
12
+ < h2 > Diagonal Separator [CSS Shapes]</ h2 >
14
13
15
14
< div class ="demo plain ">
16
15
< section >
Original file line number Diff line number Diff line change 79
79
- consult the [ browser support matrix] ( http://caniuse.com/#feat=svg-fragment ) before using.
80
80
- alternatively, you can just use one triangle svg and manualy control the position of the transparent separator
81
81
82
- ## ❓ Performance
82
+ ## ✖ Performance
83
83
84
- > ** TODO **
84
+ ![ ] ( performance.png )
85
85
86
86
## Demo
87
87
Original file line number Diff line number Diff line change 1
-
2
1
<!DOCTYPE html>
3
2
< html >
4
3
< head >
5
4
< meta charset ="UTF-8 "/>
6
5
< title > Diagonal Separator [SVG Mask]</ title >
7
6
8
7
< link rel ="stylesheet " href ="style.css "/>
9
- < link rel ="stylesheet " href ="../layout.css "/>
8
+ < link rel ="stylesheet " href ="../assets/ layout.css "/>
10
9
</ head >
11
10
12
11
< body >
13
- < h1 > Diagonal Separator [SVG Mask]</ h1 >
12
+ < h2 > Diagonal Separator [SVG Mask]</ h2 >
14
13
15
14
< div class ="demo plain ">
16
15
< section >
Original file line number Diff line number Diff line change @@ -86,9 +86,9 @@ section::after {
86
86
87
87
[ Supported on all browsers] ( http://caniuse.com/#feat=svg-css )
88
88
89
- ## ❓ Performance
89
+ ## ✔ Performance
90
90
91
- > ** TODO **
91
+ ![ ] ( performance.png )
92
92
93
93
## Demo
94
94
Original file line number Diff line number Diff line change 1
-
2
1
<!DOCTYPE html>
3
2
< html >
4
3
< head >
5
4
< meta charset ="UTF-8 "/>
6
5
< title > Diagonal Separator [SVG Background Image]</ title >
7
6
8
7
< link rel ="stylesheet " href ="style.css "/>
9
- < link rel ="stylesheet " href ="../layout.css "/>
8
+ < link rel ="stylesheet " href ="../assets/ layout.css "/>
10
9
</ head >
11
10
12
11
< body >
13
- < h1 > Diagonal Separator [SVG Background Image]</ h1 >
12
+ < h2 > Diagonal Separator [SVG Background Image]</ h2 >
14
13
15
- < h2 > (External)</ h2 >
14
+ < h3 > (External)</ h3 >
16
15
17
16
< div class ="demo plain ">
18
17
< section >
@@ -28,7 +27,7 @@ <h2>(External)</h2>
28
27
</ section >
29
28
</ div >
30
29
31
- < h2 > (SVG Shadow)</ h2 >
30
+ < h3 > (SVG Shadow)</ h3 >
32
31
33
32
< div class ="demo plain ">
34
33
< section >
@@ -44,7 +43,7 @@ <h2>(SVG Shadow)</h2>
44
43
</ section >
45
44
</ div >
46
45
47
- < h2 > (Data URI)</ h2 >
46
+ < h3 > (Data URI)</ h3 >
48
47
49
48
< div class ="demo plain ">
50
49
< section >
Original file line number Diff line number Diff line change 101
101
102
102
> Supported in all major browsers, with the exception of ` Opera Mini ` .
103
103
104
- ## ❓ Performance
104
+ ## ✖ Performance
105
105
106
- > ** TODO **
106
+ ![ ] ( performance.png )
107
107
108
108
## Demo
109
109
Original file line number Diff line number Diff line change 1
-
2
1
<!DOCTYPE html>
3
2
< html >
4
3
< head >
5
4
< meta charset ="UTF-8 "/>
6
5
< title > Diagonal Separator [CSS3 2D Transforms]</ title >
7
6
8
7
< link rel ="stylesheet " href ="style.css "/>
9
- < link rel ="stylesheet " href ="../layout.css "/>
8
+ < link rel ="stylesheet " href ="../assets/ layout.css "/>
10
9
</ head >
11
10
12
11
< body >
13
- < h1 > Diagonal Separator [CSS3 2D Transforms]</ h1 >
12
+ < h2 > Diagonal Separator [CSS3 2D Transforms]</ h2 >
14
13
15
14
< div class ="demo plain ">
16
15
< section >
You can’t perform that action at this time.
0 commit comments