Last active
June 11, 2022 07:32
-
-
Save iiviigames/1b4781db8b0e24a1dc4d32bba0fcf0b7 to your computer and use it in GitHub Desktop.
Four Score
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Four Score | |
*/ | |
html { | |
background: #000; | |
color: white; | |
background: radial-graident(100px, red); | |
max-width: 960px; | |
margin: 20px auto; | |
} | |
header { | |
text-align: center; | |
font-size: 200px; | |
margin-top: -5%; | |
} | |
hr { | |
padding: 10px 0px 10px; | |
background: white; | |
border-radius: 10px; | |
} | |
.leftbar { | |
width: calc(960px / 8*2/1.5); | |
float: left; | |
height: 960px; | |
padding: 1rem; | |
postition: absolute; | |
border: solid 1px white; | |
} | |
.rightbar { | |
width: calc(960px / 8*2/1.5); | |
height: 960px; | |
float: right; | |
padding: 1rem; | |
border: solid 1px white; | |
} | |
.centerbar { | |
width: calc(960px - (960px / ((8*2)/1.5) * 2)) * 2); | |
float: left; | |
border: solid 1px white; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- content to be placed inside <body>…</body> --> | |
<header>Four Score</header><hr> | |
<main> | |
<article> | |
<div class='leftbar'> | |
<p>Hello there this is some text </p> | |
</div> | |
<div class='centerbar'> | |
<p>Hello there this is some text </p> | |
</div> | |
<div class='rightbar'> | |
<p>Hello there this is some text </p> | |
</div> | |
</article> | |
</main> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// alert('Hello world!'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"separate","fontsize":"140","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment