forked from vinodselvin/css-objects
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrockstar-studios-logo.html
More file actions
71 lines (71 loc) · 1.5 KB
/
rockstar-studios-logo.html
File metadata and controls
71 lines (71 loc) · 1.5 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Rockstar studios</title>
<style>
.rockstar {
background-color: #E23327;
width: 100px;
height: 120px;
font-size: 100px;
border: 5px solid black;
border-radius: 20px;
padding: 30px;
padding-top: 20px;
font-style: italic;
font-family: sans-serif;
font-weight: bold;
}
.star {
margin: 50px 0;
position: relative;
display: block;
color: red;
width: 0px;
height: 0px;
border-right: 100px solid transparent;
border-bottom: 70px solid white;
border-left: 100px solid transparent;
transform: rotate(35deg) scale(0.3) skewY(5deg);
text-align: right;
margin-top: -50px;
margin-left: -20px;
}
.star:before {
border-bottom: 80px solid white;
border-left: 30px solid transparent;
border-right: 30px solid transparent;
position: absolute;
height: 0;
width: 0;
top: -45px;
left: -65px;
display: block;
content: '';
transform: rotate(-35deg);
}
.star:after {
position: absolute;
display: block;
color: red;
top: 3px;
left: -105px;
width: 0px;
height: 0px;
border-right: 100px solid transparent;
border-bottom: 70px solid white;
border-left: 100px solid transparent;
transform: rotate(-70deg);
content: '';
}
</style>
</head>
<body>
<div class="container">
<div class="rockstar">
<span class="r">R</span>
<span class="star"></span>
</div>
</div>
</body></html>