rsnext/examples/with-three-js/pages/index.css
Afsane Fadaei 12a380da23
With threejs example (#10301)
* With threejs example

* static folder replaced with public folder - linting issues resolved

* CR- gitignore removed- readmea updated- css files and package removed

* used plain css file insteaded of styled component

* built in css added

Co-authored-by: welcomebackfda <54882055+welcomebackfda@users.noreply.github.com>
2020-02-07 10:41:19 -05:00

43 lines
564 B
CSS

body {
margin: 0;
padding: 0;
width: 100%;
height: 100vh;
background: lavender;
}
canvas {
width: 100%;
height: 100vh;
}
h1 {
display: flex;
justify-content: center;
align-content: center;
color: hotpink;
}
.main {
background: hotpink;
padding: 50px;
border-radius: 4px;
display: flex;
margin: 200px;
flex-direction: column;
justify-content: center;
align-items: center;
color: white;
}
a {
color: white;
display: block;
text-decoration: unset;
font-size: 20px;
margin: 5px 0;
}
a:hover {
color: #3f51b5;
}