Skip to content

Commit

Permalink
Refactor css into separate file
Browse files Browse the repository at this point in the history
  • Loading branch information
sdegueldre committed Jul 16, 2019
1 parent 8865cbe commit 1ce5dfc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
9 changes: 1 addition & 8 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,9 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<style type="text/css" media="all">
html, body {
margin: 0;
padding: 0;
display: flex;
background: linear-gradient(to bottom, dimgray, black);
}
</style>
<canvas></canvas>
<script src="/index.js" charset="utf-8"></script>
</body>
Expand Down
6 changes: 6 additions & 0 deletions src/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
html, body {
margin: 0;
padding: 0;
display: flex;
background: linear-gradient(to bottom left, #222, black);
}

0 comments on commit 1ce5dfc

Please sign in to comment.