mirror of
https://github.com/adanrsantos/ThePlaceHolders.git
synced 2024-12-16 16:30:39 -06:00
added style to canvas
This commit is contained in:
parent
a5ffd96d80
commit
dcb9e37dc8
|
@ -1,3 +1,36 @@
|
||||||
canvas {
|
* {
|
||||||
background-color: black;
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
html, body {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wrapper {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbarCont {
|
||||||
|
background-color: grey;
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.canvasCont {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
padding: 20px;
|
||||||
|
background-color: yellow;
|
||||||
|
border: solid black;
|
||||||
|
border-radius: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
canvas {
|
||||||
|
background-color: lightblue;
|
||||||
}
|
}
|
|
@ -11,7 +11,15 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<canvas id="canvas" width="1500" height="650" style="border:1px solid #000000;" alt="canvas"></canvas>
|
<div class="wrapper">
|
||||||
<h1>Hello</h1>
|
<div class="navbarCont">
|
||||||
|
<h1>ThePlaceHolders</h1>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="canvasCont">
|
||||||
|
<canvas id="canvas" width="850" height="500" style="border:1px solid #000000;" alt="canvas"></canvas>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in a new issue