Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <!DOCTYPE html>
<html lang="en">

<body class="body">
  <img class="back-img-desk" src="https://github.com/Aryan-desale/Clipboard-landing-page/blob/master/images/bg-header-desktop.png?raw=true" alt="" />

  <img class="back-img-mob" src="https://github.com/Aryan-desale/Clipboard-landing-page/blob/master/images/bg-header-mobile.png?raw=true" alt="" />

  <div class="intro">
    <div class="top-logo">
      <img src="https://raw.githubusercontent.com/Aryan-desale/Clipboard-landing-page/ca1adc0019991c667902c4a66d599dd8563317a4/images/logo.svg" alt="" />
    </div>
    <h1>A history of everything you copy</h1>

    <p>
      Clipboard allows you to track and organize everything you copy.
      Instantly access your clipboard on all your devices.
    </p>

    <div class="top-btn">
      <button class="btn ios"><span>Download for iOS</span></button>

      <button class="btn mac">Download for Mac</button>
    </div>
  </div>

  <div class="com-section">
    <h1>Keep track of your snippets</h1>

    <p>
      Clipboard instantly stores any item you copy in the cloud, meaning you
      can access your snippets immediately on all your devices. Our Mac and
      iOS apps will help you organize everything.
    </p>

    <div class="com-flex">
      <div class="comp-img">
        <img src="https://github.com/Aryan-desale/Clipboard-landing-page/blob/master/images/image-computer.png?raw=true" alt="" />
      </div>
      <div class="com-info">
        <h2>Quick Search</h2>

        <p>
          Easily search your snippets by content, category, web address,
          application, and more.
        </p>

        <h2>iCloud Sync</h2>

        <p>Instantly saves and syncs snippets across all your devices.</p>

        <h2>Complete History</h2>

        <p>
          Retrieve any snippets from the first moment you started using the
          app.
        </p>
      </div>
    </div>
  </div>

  <div class="tablet-sec">
    <h1>Access Clipboard anywhere</h1>

    <p>
      Whether you’re on the go, or at your computer, you can access all your
      Clipboard snippets in a few simple clicks.
    </p>

    <div class="mob-tab-img">
      <img src="https://github.com/Aryan-desale/Clipboard-landing-page/blob/master/images/image-devices.png?raw=true" alt="mobile and tablet img" />
    </div>
  </div>

  <div class="description-sec">
    <div class="heading">
      <h2>Supercharge your workflow</h2>
      <p>We’ve got the tools to boost your productivity.</p>
    </div>

    <div class="desc">
      <div class="blacklist">
        <div class="blacklist-img">
          <img src="https://raw.githubusercontent.com/Aryan-desale/Clipboard-landing-page/ca1adc0019991c667902c4a66d599dd8563317a4/images/icon-blacklist.svg" alt="" />
        </div>
        <h2>Create blacklists</h2>
        <p>
          Ensure sensitive information never makes its way to your clipboard
          by excluding certain sources.
        </p>
      </div>

      <div class="snippet">
        <div class="snippet-img">
          <img src="https://raw.githubusercontent.com/Aryan-desale/Clipboard-landing-page/ca1adc0019991c667902c4a66d599dd8563317a4/images/icon-text.svg" alt="" />
        </div>
        <h2>Plain text snippets</h2>
        <p>
          Remove unwanted formatting from copied text for a consistent look.
        </p>
      </div>

      <div class="preview">
        <div class="preview-img">
          <img src="https://raw.githubusercontent.com/Aryan-desale/Clipboard-landing-page/ca1adc0019991c667902c4a66d599dd8563317a4/images/icon-preview.svg" alt="" />
        </div>
        <h2>Sneak preview</h2>
        <p>
          Quick preview of all snippets on your Clipboard for easy access.
        </p>
      </div>
    </div>
  </div>

  <div class="company">
    <div class="cmp-img">
      <img src="https://github.com/Aryan-desale/Clipboard-landing-page/blob/master/images/logo-google.png?raw=true" alt="google" />
    </div>

    <div class="cmp-img">
      <img src="https://github.com/Aryan-desale/Clipboard-landing-page/blob/master/images/logo-ibm.png?raw=true" alt="IBM" />
    </div>

    <div class="cmp-img">
      <img src="https://github.com/Aryan-desale/Clipboard-landing-page/blob/master/images/logo-microsoft.png?raw=true" alt="microsoft" />
    </div>
    <div class="cmp-img">
      <img src="https://github.com/Aryan-desale/Clipboard-landing-page/blob/master/images/logo-hp.png?raw=true" alt="Hewlett packard" />
    </div>
    <div class="cmp-img">
      <img src="https://github.com/Aryan-desale/Clipboard-landing-page/blob/master/images/logo-vector-graphics.png?raw=true" alt="Vector" />
    </div>
  </div>

  <div class="clip-sec">
    <h1>Clipboard for iOS and Mac OS</h1>

    <p>
      Available for free on the App Store. Download for Mac or iOS, sync with
      iCloud and you’re ready to start adding to your clipboard.
    </p>

    <div class="dwn-btn">

      <button class="btn ios"><span>Download for iOS</span></button>

      <button class="btn mac">Download for Mac</button>

    </div>
  </div>

  <footer class="footer">
    <div class="fot-logo">
      <img src="https://raw.githubusercontent.com/Aryan-desale/Clipboard-landing-page/ca1adc0019991c667902c4a66d599dd8563317a4/images/logo.svg" alt="" />
    </div>
    <div class="links">
      <a class="faq" href="#">
        <h3>FAQs</h3>
      </a>
      <a class="contact" href="">
        <h3>Contact Us</h3>
      </a>
      <a class="privacy" href="">
        <h3>Privacy Policy</h3>
      </a>
      <a class="press" href="">
        <h3>Press Kit</h3>
      </a>
      <a class="install" href="">
        <h3>Install Guide</h3>
      </a>
    </div>

    <div class="social">
      <ul>
        <li>
          <a class="sco-img" href=" ">
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <i class="fac-img fab fa-facebook-square"></i>
          </a>
        </li>

        <li>
          <a class="sco-img" href=" ">
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <i class="tweet-img fab fa-twitter"></i>
          </a>
        </li>

        <li>
          <a class="sco-img" href=" ">
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <i class="insta-img fab fa-instagram"></i>
          </a>
        </li>
        <ul>
    </div>

    <p class="attribution">
      Challenge by

      <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>. Coded by
      <a href="https://www.frontendmentor.io/profile/Aryan-desale">Aryan</a>.
    </p>
  </footer>
</body>

</html>
              
            
!

CSS

              
                * {
  padding: 0;
  margin: 0;
}

body {
  font-family: "Bai Jamjuree", sans-serif;
  width: 100vw;
  height: 100vh;
  font-size: 18px;
  overflow-x: hidden;
  text-align: center;
}

.body {
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  list-style: none;
}

h1,
h2,
h3 {
  color: #4c545d;
  text-align: center;
  margin: auto;
  text-align: center;
  font-size: 2rem;
  width: 100%;
  max-width: 330px;
  font-weight: 600;
}

p {
  color: #9fabb2;
  text-align: center;
  line-height: 1.6;
  width: 100%;
  max-width: 310px;
  font-size: 1rem;
  font-weight: 400;
  margin: auto;
}

.back-img-desk {
  display: none;
}

.back-img-mob {
  width: 100%;
  max-width: 375px;
  height: auto;
  padding: 0;
  margin: 0;
}

.top-logo > img {
  width: 100%;
  max-width: 125px;
  height: auto;
}

.intro > .top-logo {
  text-align: center;
  margin-top: -15em;
  margin-bottom: 4em;
}

.intro > h1 {
  margin: auto;
  text-align: center;
  font-size: 2rem;
  width: 100%;
  max-width: 330px;
  font-weight: 600;
}

.intro > p {
  font-size: 1rem;
  line-height: 1.5;
  width: 100%;
  max-width: 310px;
  font-weight: 400;
  margin-top: 1em;
  margin-bottom: 3em;
}

.btn {
  padding: 0.9em 5em;
  margin: auto;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  align-items: center;
  outline: none;
  display: block;
  font-family: "Bai Jamjuree", sans-serif;
  color: white;
}

.ios {
  background-color: #26baa4;
  border-bottom: 4px solid #179c88;
}

.mac {
  background-color: #6173ff;
  border-bottom: 4px solid #3e54fa;
}

.btn + .btn {
  margin-top: 1.5em;
}

.com-section > h1 {
  margin-top: 5em;
  margin-bottom: 1em;
}

.comp-img > img {
  width: 100%;
  max-width: 310px;
  height: auto;
}

.com-section > .comp-img {
  margin-top: 3em;
  margin-bottom: 3em;
}

.com-info > h2 {
  font-size: 1.5rem;
  margin-bottom: 1em;
}

.com-info > p {
  margin-bottom: 3em;
}

.com-info {
  margin: auto;
}

.tablet-sec > h1 {
  margin-top: 6em;
  margin-bottom: 0.7em;
}

.mob-tab-img > img {
  width: 100%;
  max-width: 350px;
  height: auto;
  margin-top: 3em;
  margin-bottom: 4em;
}

.heading > h2 {
  margin-bottom: 0.3em;
}

.heading {
  margin-bottom: 4em;
}

.blacklist > h2 {
  font-size: 1.5rem;
  margin-bottom: 1em;
}

.snippet > h2 {
  font-size: 1.5rem;
  margin-bottom: 1em;
}

.preview > h2 {
  font-size: 1.5rem;
  margin-bottom: 1em;
}

.blacklist-img > img {
  width: 100%;
  max-width: 50px;
  height: auto;
  margin-top: 1em;
  margin-bottom: 2em;
}

.snippet-img > img {
  width: 100%;
  max-width: 50px;
  height: auto;
  margin-top: 2em;
  margin-bottom: 2em;
}

.preview-img > img {
  width: 100%;
  max-width: 50px;
  height: auto;
  margin-top: 2em;
  margin-bottom: 2em;
}

.desc {
  margin-bottom: 5em;
}

.company > .cmp-img {
  text-align: center;
  justify-content: center;
}

.cmp-img + .cmp-img {
  margin-top: 4em;
}

.cmp-img > img {
  width: 100%;
  max-width: 130px;
  height: auto;
  text-align: center;
  justify-content: center;
}

.company {
  margin-bottom: 8em;
  margin-top: 6em;
}

.clip-sec > h1 {
  font-size: 1.8rem;
  width: 300px;
  margin-bottom: 0.6em;
}

.clip-sec > p {
  margin-bottom: 4em;
}

.clip-sec {
  margin-bottom: 8em;
}

.footer > .fot-logo {
  height: auto;
  position: relative;
  text-align: center;
}

.fot-logo > img {
  width: 100%;
  max-width: 55px;
  height: auto;
  margin-top: 2em;
  margin-bottom: 2em;
}

footer {
  background-color: #f7f7f7;
}

.links > a,
h3 {
  font-size: 1.2rem;
  line-height: 3;
  list-style: none;
  text-decoration: none;
  font-weight: 400;
}

.links {
  margin-bottom: 1em;
}

.social {
  display: block;
  text-align: center;
  margin-bottom: 1em;
}

.social > ul {
  display: flex;
  justify-content: center;
}

ul li {
  list-style: none;
}

ul li a {
  margin: 0 10px;
}
.social > a {
  text-decoration: none;
  list-style: none;
}

.sco-img > i {
  font-size: 2rem;
}

.sco-img > .fac-img {
  color: #4267b2;
}

.sco-img > .tweet-img {
  color: #1da1f2;
}

.sco-img > .insta-img {
  color: #c13584;
}

.attribution {
  font-size: 13px;
  text-align: center;
  padding: 1em 0;
  font-weight: 600;
}
.attribution a {
  color: hsl(228, 45%, 44%);
  text-decoration: none;
}

@media (min-width: 1000px) {
  body {
    width: 100%;
    max-width: 1440px;
    height: 100vh;
    overflow: visible;
    overflow-x: hidden;
  }

  .body {
    width: 100%;
    max-width: 1440px;
    height: 100vh;
    overflow: visible;
    overflow-x: hidden;
  }

  .back-img-desk {
    display: block;
  }

  .back-img-mob {
    display: none;
  }

  .intro > .top-logo {
    text-align: center;
    margin-top: -13em;
  }

  .intro > h1 {
    font-size: 3rem;
    width: 100%;
    max-width: 900px;
    margin: auto;
    text-align: center;
    margin-bottom: 0.4em;
  }

  .intro > p {
    font-size: 1.3rem;
    width: 100%;
    max-width: 750px;
    margin: auto;
    text-align: center;
    margin-bottom: 2em;
  }

  .top-btn {
    display: flex;
    justify-content: space-around;
    justify-content: center;
  }

  .btn {
    padding: 0.9em 3em;
    margin: 0;
    font-size: 1rem;
  }
  .btn + .btn {
    margin-top: 0em;
    margin-left: 1em;
  }

  .ios {
    box-shadow: 1px 1px 10px #26baa4;
  }

  .mac {
    box-shadow: 1px 1px 10px #3e54fa;
  }

  .com-section > h1 {
    font-size: 2.5rem;
    width: 100%;
    max-width: 600px;
  }

  .com-section > p {
    font-size: 1.2rem;
    width: 100%;
    max-width: 750px;
    margin-top: -0.8em;
  }

  .comp-img > img {
    width: 100%;
    max-width: 700px;
    height: 100%;
  }
  .comp-img {
    text-align: left;
    margin-left: -2em;
    margin-top: 4em;
  }

  .com-flex {
    display: flex;
  }

  .com-info > h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5em;
    text-align: left;
    width: 100%;
    max-width: 350px;
  }

  .com-info > p {
    margin-bottom: 3em;
    text-align: left;
    width: 100%;
    max-width: 350px;
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 500;
  }

  .com-info {
    margin: 0;
    margin: 7em 0 0 6em;
  }

  .tablet-sec > h1 {
    font-size: 2.4rem;
    width: 100%;
    max-width: 600px;
  }

  .tablet-sec > p {
    font-size: 1.2rem;
    width: 100%;
    max-width: 730px;
  }

  .mob-tab-img > img {
    width: 100%;
    max-width: 800px;
  }

  .heading > h2 {
    font-size: 2.6rem;
    width: 100%;
    max-width: 700px;
  }

  .heading > p {
    font-size: 1.3rem;
    width: 100%;
    max-width: 500px;
  }

  .desc {
    display: grid;
    grid-template-columns: 19em 1em 22em 1em 19em;
    grid-template-rows: 10em;
    justify-content: center;
  }

  .blacklist {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;
  }

  .blacklist > p {
    font-size: 1rem;
    width: 100%;
    max-width: 590px;
  }

  .blacklist-img > img {
    margin-top: 2em;
    margin-bottom: 2em;
  }

  .snippet {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 2;
  }

  .snippe > p {
    font-size: 1rem;
    width: 100%;
    max-width: 990px;
  }

  .snippet-img > img {
    width: 100%;
    max-width: 50px;
    height: auto;
    margin-top: 2em;
    margin-bottom: 2em;
  }

  .preview {
    margin-left: 0;
    grid-column-start: 5;
    grid-column-end: 6;
    grid-row-start: 1;
    grid-row-end: 2;
  }

  .preview-img > img {
    max-width: 50px;
    margin-top: 2em;
    margin-bottom: 2.7em;
  }

  .company {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 13em;
  }

  .cmp-img + .cmp-img {
    margin-left: 5em;
    margin-top: 0;
  }

  .cmp-img > img {
    width: 100%;
    max-width: 170px;
    height: auto;
  }

  .clip-sec > h1 {
    font-size: 2.3rem;
    width: 100%;
    max-width: 700px;
  }

  .clip-sec > p {
    font-size: 1.2rem;
    width: 100%;
    max-width: 750px;
  }

  .dwn-btn {
    display: flex;
    justify-content: space-around;
    justify-content: center;
  }

  .btn {
    padding: 0.9em 3em;
    margin: 0;
    font-size: 1rem;
  }
  .btn + .btn {
    margin-top: 0em;
    margin-left: 1em;
  }

  footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 170px;
  }

  .links {
    display: grid;
    grid-template-columns: 9em 1.2em 9em 1.2em 9em;
    grid-template-rows: 1.3em 0.8em 1.3em;
  }

  .faq {
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  .contact {
    grid-row-start: 3;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  .privacy {
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 3;
    grid-column-end: 4;
  }

  .press {
    grid-row-start: 3;
    grid-row-end: 4;
    grid-column-start: 3;
    grid-column-end: 4;
  }

  .install {
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 5;
    grid-column-end: 6;
  }

  .links > a,
  h3 {
    font-size: 1.2rem;
    line-height: 0;
    text-align: left;
  }

  .links > a .links > a,
  h3:hover {
    color: black;
    transition: 0.5s ease-out;
    font-weight: 600;
  }

  .links {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: -7em;
  }

  .fot-logo {
    margin-left: -1em;
  }

  .social > ul {
    position: absolute;
    margin: 0;
    padding: 0;
    display: flex;
    transform: translate(-50%, -50%);
  }

  ul li {
    list-style: none;
  }

  ul li a {
    display: block;
    position: relative;
    transition: 0.5s;
    width: 50px;
    height: 50px;
    line-height: 55px;
    text-align: center;
    text-decoration: none;
    margin: 0 10px;
    font-size: 20px;
    align-items: center;
  }

  ul li a span {
    position: absolute;
    transition: transform 0.5s;
  }

  ul li a span:nth-child(1),
  ul li a span:nth-child(3) {
    width: 100%;
    height: 1px;
    background-color: #757575;
  }

  ul li a span:nth-child(1) {
    top: 0;
    left: 0;
    transform-origin: right;
  }

  ul li a:hover span:nth-child(1) {
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s;
  }

  ul li a span:nth-child(3) {
    bottom: 0;
    left: 0;
    transform-origin: left;
  }

  ul li a:hover span:nth-child(3) {
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s;
  }

  ul li a span:nth-child(2),
  ul li a span:nth-child(4) {
    width: 1px;
    height: 100%;
    background-color: #757575;
  }

  ul li a span:nth-child(2) {
    top: 0;
    left: 0;
    transform: scaleY(0);
    transform-origin: bottom;
  }

  ul li a:hover span:nth-child(2) {
    transform: scaleY(1);
    transform-origin: top;
    transition: transform 0.5s;
  }

  ul li a span:nth-child(4) {
    top: 0;
    right: 0;
    transform: scaleY(0);
    transform-origin: top;
  }

  ul li a:hover span:nth-child(4) {
    transform: scaleY(1);
    transform-origin: bottom;
    transition: transform 0.5s;
  }

  .ios {
    background-color: #26baa4;
    border-bottom: 4px solid #179c88;
    color: #fff;
    position: relative;
    font-size: 1rem;
    padding: 0.9em 3em;
    cursor: pointer;
    transition: 800ms ease all;
    outline: none;
  }

  .ios:hover {
    background: #fff;
    color: #26baa4;
    border: none;
    border-radius: 0;
  }

  .ios:before,
  .ios:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 2px;
    width: 0;
    background: #1aab8a;
    transition: 400ms ease all;
  }
  .ios:after {
    right: inherit;
    top: inherit;
    left: 0;
    bottom: 0;
  }
  .ios:hover:before,
  .ios:hover:after {
    width: 100%;
    transition: 800ms ease all;
  }

  .mac {
    background-color: #6173ff;
    border-bottom: 4px solid #3e54fa;
    color: #fff;
    position: relative;
    font-size: 1rem;
    padding: 0.9em 3em;
    cursor: pointer;
    transition: 800ms ease all;
    outline: none;
  }

  .mac:hover {
    background: #fff;
    color: #6173ff;
    border: none;
    border-radius: 0;
  }

  .mac:before,
  .mac:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 2px;
    width: 0;
    background: #6173ff;
    transition: 400ms ease all;
  }
  .mac:after {
    right: inherit;
    top: inherit;
    left: 0;
    bottom: 0;
  }
  .mac:hover:before,
  .mac:hover:after {
    width: 100%;
    transition: 800ms ease all;
  }

  .attribution {
    font-size: 13px;
    text-align: center;
    padding: 1em 0;
    font-weight: 600;
    position: absolute;
    margin-top: 130px;
    justify-content: center;
  }
  .attribution a {
    color: hsl(228, 45%, 44%);
    text-decoration: none;
  }
}

              
            
!

JS

              
                
              
            
!
999px

Console