feat: use value in the game
This commit is contained in:
32
index.css
32
index.css
@@ -167,4 +167,36 @@ details.hud li {
|
||||
.round-svg {
|
||||
visibility: hidden;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.use-value {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
text-align: center;
|
||||
text-decoration: underline;
|
||||
font-size: 2rem;
|
||||
background: linear-gradient(to right, #6666ff, #0099ff, #00ff00, #ff3399, #6666ff);
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
color: transparent;
|
||||
animation: rainbow-animation 5s ease-in-out infinite;
|
||||
background-size: 400% 100%;
|
||||
}
|
||||
|
||||
.display-use-value {
|
||||
display: inline;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
|
||||
@keyframes rainbow-animation {
|
||||
|
||||
0%,
|
||||
100% {
|
||||
background-position: 0 0;
|
||||
}
|
||||
|
||||
50% {
|
||||
background-position: 100% 0;
|
||||
}
|
||||
}
|
||||
@@ -24,7 +24,8 @@
|
||||
<section class="customer-satisfaction-roof focusable">
|
||||
<h2 class="customer-satisfaction">Customer Satisfaction</h2>
|
||||
<p class="value-analysis-value-engineering">
|
||||
Value analysis / Value engineering
|
||||
<span class="use-value">Use</span> Value analysis /
|
||||
<span class="use-value">Use</span> Value engineering
|
||||
</p>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user