Skip to content

Commit f432fd7

Browse files
committed
Adds note on resizing css logo
1 parent 18b50e5 commit f432fd7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

js.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
* by @olizilla
1111
*/
1212
.js{
13+
/* You can multiply the width by 0.58 to get the font-size..
14+
so for a 100px logo, font size is 100 * 0.58 = 58px */
1315
width:200px;
1416
height:200px;
1517
font-size: 116px;
@@ -44,4 +46,4 @@
4446
<div>JS</div>
4547
</div>
4648
</body>
47-
</html>
49+
</html>

0 commit comments

Comments
 (0)