-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c0aa360
commit 01d7520
Showing
9 changed files
with
276 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,174 @@ | ||
html { | ||
background-color: #070815; | ||
font-family: 'Montserrat', sans-serif; | ||
color: white; | ||
} | ||
|
||
#teste { | ||
position: absolute; | ||
transform-style: preserve-3d; | ||
width: 70px; | ||
left: 4em; | ||
top: 5em; | ||
} | ||
|
||
.conteiner { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
background-color: ; | ||
width: 70vw; | ||
height: 80vh; | ||
} | ||
|
||
.cube { | ||
-webkit-animation-name: spincube; | ||
-webkit-animation-timing-function: ease-in-out; | ||
-webkit-animation-iteration-count: infinite; | ||
-webkit-animation-duration: 12s; | ||
animation-name: spincube; | ||
animation-timing-function: ease-in-out; | ||
animation-iteration-count: infinite; | ||
animation-duration: 40s; | ||
-webkit-transform-style: preserve-3d; | ||
-moz-transform-style: preserve-3d; | ||
-ms-transform-style: preserve-3d; | ||
transform-style: preserve-3d; | ||
/* -webkit-transform-origin: 100px 100px 0; | ||
-moz-transform-origin: 100px 100px 0; | ||
-ms-transform-origin: 100px 100px 0; | ||
transform-origin: 100px 100px 0;*/ | ||
/* margin-left: calc(50% - 100px);*/ | ||
} | ||
|
||
.cube div { | ||
position: absolute; | ||
width: 200px; | ||
height: 200px; | ||
border: 1px solid #ccc; | ||
background: rgba(255, 255, 255, .4); | ||
text-align: center; | ||
font-size: 100px; | ||
display: -webkit-box; | ||
display: -ms-flexbox; | ||
display: flex; | ||
-webkit-box-pack: center; | ||
-ms-flex-pack: center; | ||
justify-content: center; | ||
-webkit-box-align: center; | ||
-ms-flex-align: center; | ||
align-items: center; | ||
box-shadow: 0 0 20px 0px lightyellow; | ||
} | ||
|
||
.cube .face1 { | ||
-webkit-transform: translateZ(100px); | ||
-moz-transform: translateZ(100px); | ||
-ms-transform: translateZ(100px); | ||
transform: translateZ(100px); | ||
color: #DD0031; | ||
} | ||
|
||
.cube .face2 { | ||
-webkit-transform: rotateY(90deg) translateZ(100px); | ||
-moz-transform: rotateY(90deg) translateZ(100px); | ||
-ms-transform: rotateY(90deg) translateZ(100px); | ||
transform: rotateY(90deg) translateZ(100px); | ||
color: #F06529; | ||
} | ||
|
||
.cube .face3 { | ||
-webkit-transform: rotateY(90deg) rotateX(90deg) translateZ(100px); | ||
-moz-transform: rotateY(90deg) rotateX(90deg) translateZ(100px); | ||
-ms-transform: rotateY(90deg) rotateX(90deg) translateZ(100px); | ||
transform: rotateY(90deg) rotateX(90deg) translateZ(100px); | ||
color: #28A4D9; | ||
} | ||
|
||
.cube .face4 { | ||
-webkit-transform: rotateY(180deg) rotateZ(90deg) translateZ(100px); | ||
-moz-transform: rotateY(180deg) rotateZ(90deg) translateZ(100px); | ||
-ms-transform: rotateY(180deg) rotateZ(90deg) translateZ(100px); | ||
transform: rotateY(180deg) rotateZ(90deg) translateZ(100px); | ||
color: #5ED4F4; | ||
} | ||
|
||
.cube .face5 { | ||
-webkit-transform: rotateY(-90deg) rotateZ(90deg) translateZ(100px); | ||
-moz-transform: rotateY(-90deg) rotateZ(90deg) translateZ(100px); | ||
-ms-transform: rotateY(-90deg) rotateZ(90deg) translateZ(100px); | ||
transform: rotateY(-90deg) rotateZ(90deg) translateZ(100px); | ||
color: #EFD81D; | ||
} | ||
|
||
.cube .face6 { | ||
-webkit-transform: rotateX(-90deg) translateZ(100px); | ||
-moz-transform: rotateX(-90deg) translateZ(100px); | ||
-ms-transform: rotateX(-90deg) translateZ(100px); | ||
transform: rotateX(-90deg) translateZ(100px); | ||
color: #EC4D28; | ||
} | ||
|
||
@keyframes spincube { | ||
from, | ||
to { | ||
-moz-transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); | ||
-ms-transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); | ||
transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); | ||
} | ||
16% { | ||
-moz-transform: rotateY(-90deg); | ||
-ms-transform: rotateY(-90deg); | ||
transform: rotateY(-90deg); | ||
} | ||
33% { | ||
-moz-transform: rotateY(-90deg) rotateZ(90deg); | ||
-ms-transform: rotateY(-90deg) rotateZ(90deg); | ||
transform: rotateY(-90deg) rotateZ(90deg); | ||
} | ||
50% { | ||
-moz-transform: rotateY(-180deg) rotateZ(90deg); | ||
-ms-transform: rotateY(-180deg) rotateZ(90deg); | ||
transform: rotateY(-180deg) rotateZ(90deg); | ||
} | ||
66% { | ||
-moz-transform: rotateY(-270deg) rotateX(90deg); | ||
-ms-transform: rotateY(-270deg) rotateX(90deg); | ||
transform: rotateY(-270deg) rotateX(90deg); | ||
} | ||
83% { | ||
-moz-transform: rotateX(90deg); | ||
-ms-transform: rotateX(90deg); | ||
transform: rotateX(90deg); | ||
} | ||
} | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
::-webkit-scrollbar-track { | ||
background-color: black; | ||
} | ||
::-webkit-scrollbar { | ||
width: 5px; | ||
height: 5px; | ||
background: black; | ||
} | ||
::-webkit-scrollbar-thumb { | ||
background: #343434; | ||
} |
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
html, body, div, span, applet, object, iframe, | ||
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | ||
a, abbr, acronym, address, big, cite, code, | ||
del, dfn, em, img, ins, kbd, q, s, samp, | ||
small, strike, strong, sub, sup, tt, var, | ||
b, u, i, center, | ||
dl, dt, dd, ol, ul, li, | ||
fieldset, form, label, legend, | ||
table, caption, tbody, tfoot, thead, tr, th, td, | ||
article, aside, canvas, details, embed, | ||
figure, figcaption, footer, header, hgroup, | ||
menu, nav, output, ruby, section, summary, | ||
time, mark, audio, video { | ||
margin: 0; | ||
padding: 0; | ||
border: 0; | ||
font-size: 100%; | ||
font: inherit; | ||
vertical-align: baseline; | ||
} | ||
|
||
article, aside, details, figcaption, figure, | ||
footer, header, hgroup, menu, nav, section { | ||
display: block; | ||
} | ||
body { | ||
line-height: 1; | ||
} | ||
ol, ul { | ||
list-style: none; | ||
} | ||
blockquote, q { | ||
quotes: none; | ||
} | ||
blockquote:before, blockquote:after, | ||
q:before, q:after { | ||
content: ''; | ||
content: none; | ||
} | ||
table { | ||
border-collapse: collapse; | ||
border-spacing: 0; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<!DOCTYPE html> | ||
<html lang="pt-br"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>cube 3D</title> | ||
|
||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | ||
<link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet"> | ||
|
||
<link rel="stylesheet" href="css/reset.css"> | ||
<link rel="stylesheet" href="css/index.css"> | ||
<link rel="stylesheet" href="css/index2.css"> | ||
<link rel="icon" href="assets/icon.png"> | ||
</head> | ||
|
||
<body> | ||
<section class="conteiner"> | ||
<section> | ||
<section class="cube"> | ||
<img id="teste" src="assets/img/img.png"> | ||
<div class="face1"></div> | ||
<div class="face2"></div> | ||
<div class="face3"></div> | ||
<div class="face4"></div> | ||
<div class="face5"></div> | ||
<div class="face6"></div> | ||
</section> | ||
</section> | ||
</section> | ||
|
||
|
||
<!-- <a href="index2.html">Segunda Pag.</a> --> | ||
<script type="text/javascript" src="js/index.js"></script> | ||
<script type="text/javascript" src="js/index2.js"></script> | ||
</body> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!DOCTYPE html> | ||
<html lang="pt-br"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>In Coding...</title> | ||
|
||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | ||
<link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet"> | ||
|
||
<link rel="stylesheet" href="css/reset.css"> | ||
<link rel="stylesheet" href="css/index.css"> | ||
<link rel="stylesheet" href="css/index2.css"> | ||
<link rel="icon" href="assets/icon.png"> | ||
</head> | ||
|
||
<body> | ||
<h1>_Olá!! Aqui é a Página 2</h1> | ||
|
||
<!-- <a href="index.html">Primeira Pag.</a> --> | ||
<script type="text/javascript" src="js/index.js"></script> | ||
<script type="text/javascript" src="js/index2.js"></script> | ||
</body> | ||
</html> |
Empty file.
Empty file.