File tree 1 file changed +47
-0
lines changed
1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html >
3
+ < head >
4
+ < meta name ="description " content ="CSS simulacrum of the JS logo " />
5
+ < meta charset ="utf-8 " />
6
+ < title > logo.js</ title >
7
+ < style >
8
+ /* A CSS simulacrum of the JS logo.
9
+ * See: @voodtikigod's https://github.com/voodootikigod/logo.js
10
+ * by @olizilla
11
+ */
12
+ .js {
13
+ width : 200px ;
14
+ height : 200px ;
15
+ font-size : 116px ;
16
+ /* font-size: calc( attr(width) * 0.58 )... If only one could. */
17
+
18
+ /* oh god no... can someone please get http://www.houseind.com/fonts/neutraface2 into the public domain. */
19
+ font-family : Futura, "Trebuchet MS" , Arial, sans-serif;
20
+ letter-spacing : -1px ;
21
+ line-height : 1.1em ;
22
+ font-weight : 700 ;
23
+
24
+ background-color : # f3df49 ;
25
+ color : # 2e2e2c ;
26
+ /* Increase the font weight with a faux-outline...*/
27
+ text-shadow : 1px 1px 0px # 2e2e2c ;
28
+ /* ...but too much and you trade-off the sharpness of the font. */
29
+ /*text-shadow:-1px 0 #2e2e2c, 0 1px #2e2e2c, 1px 0 #2e2e2c, 0 -1px #2e2e2c;*/
30
+
31
+ display : inline-block;
32
+ position : relative;
33
+ }
34
+ .js div {
35
+ position : absolute;
36
+ bottom : 0 ;
37
+ right : 0 ;
38
+ padding : 0 5% 0 0 ;
39
+ }
40
+ </ style >
41
+ </ head >
42
+ < body >
43
+ < div class ="js ">
44
+ < div > JS</ div >
45
+ </ div >
46
+ </ body >
47
+ </ html >
You can’t perform that action at this time.
0 commit comments