2

Knockout Text Code Challenge - Animated Gradients

 2 years ago
source link: https://codepen.io/hihowareyou2/pen/oNeQKGP
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Pen Settings

HTML Preprocessor

Add Class(es) to <html>

Stuff for <head>

0 unsaved changes
xxxxxxxxxx
<div class="wrapper">
  <div class="word lets">
    <p class="pink">L</p>
    <p class="yellow">e</p>
    <p class="white">t</p>
    <p class="apos">'</p>
    <p class="blue">s</p>
  </div>
  <div class="word party">
    <p class="white">P</p>
    <p class="blue">a</p>
    <p class="pink">r</p>
    <p class="yellow">t</p>
    <p class="white">y</p>
    <p class="pink">!</p>
  </div>
</div>
body,
html {
  height: 100%;
  display: grid;
  background-color: rgb(20, 20, 20);
}
p {
  margin: auto;
  font-family: "Modak", cursive;
  font-size: 13rem;
}
.wrapper {
  background-color: black;
  min-width: 70%;
  margin: auto;
  padding: 0.2em;
  border: 8px solid;
  border-image-slice: 1;
  border-image-source: linear-gradient(to left, #00e6e6, #e40bb5f2);
}
xxxxxxxxxx

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK