forked from vinodselvin/css-objects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
switchme-logo.html
72 lines (67 loc) · 1.22 KB
/
switchme-logo.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html>
<head>
<style>
body {
background: #000
}
.switchme {
width: 85px;
padding: 5px;
border: 4px #fff solid;
position: relative;
height: 20px;
border-right: 0px;
}
.switchme .text {
color: #fff;
font-size: 18px;
font-weight: bold;
left: 10px;
font-family: arial;
position: absolute;
}
.switchme .top {
border-top: 4px #fff solid;
border-right: 4px #fff solid;
display: block;
width: 10px;
height: 10px;
position: absolute;
top: -3px;
right: -21px;
border-left: 0;
}
.switchme .top:after {
border-top: 4px #fff solid;
content: "";
display: block;
width: 14px;
height: 10px;
position: absolute;
top: -6px;
right: 1px;
transform: rotate(135deg);
}
.switchme .bot {
border-right: 4px #fff solid;
border-bottom: 4px #fff solid;
display: block;
width: 17px;
height: 10px;
position: absolute;
bottom: -4px;
right: -21px;
}
</style>
</head>
<body>
<div class="switchme">
<div class="top"></div>
<div class="bot"></div>
<div class="text">
SwitchMe
</div>
</div>
</body>
</html>