Skip to content

Commit

Permalink
Update style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
tushargupta1504 authored Jan 27, 2024
1 parent 637488f commit 8c85f8d
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,52 @@

/* resets */


.visualizer-container {
perspective: 1000px;
margin-top: 50px;
}

.visualizer {
position: relative;
width: 300px;
height: 300px;
transform-style: preserve-3d;
transform: rotateX(45deg) rotateY(45deg);
transition: transform 0.5s ease;
}

.visualizer .cube-face {
position: absolute;
width: 300px;
height: 300px;
background-color: rgba(255, 0, 0, 0.7);
border: 2px solid white;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
text-align: center;
line-height: 300px;
font-size: 24px;
color: white;
font-weight: bold;
}

.button-container {
margin-top: 20px;
text-align: center;
}

.toggle-3d-button {
padding: 10px 20px;
font-size: 16px;
background-color: var(--accent-color);
color: white;
border: none;
border-radius: 6px;
cursor: pointer;
transition: background-color 0.3s ease;
}


html.sr .load-hidden {
visibility: hidden;
}
Expand Down

0 comments on commit 8c85f8d

Please sign in to comment.