<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Samuelonoja</title>
    <description>The latest articles on DEV Community by Samuelonoja (@samuelonoja).</description>
    <link>https://dev.to/samuelonoja</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F285699%2Ff1ec72d9-90ef-4d6d-bc3a-097c5e42f86d.jpg</url>
      <title>DEV Community: Samuelonoja</title>
      <link>https://dev.to/samuelonoja</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/samuelonoja"/>
    <language>en</language>
    <item>
      <title>Here are my Trendy CSS logo loader and curtain effect tut</title>
      <dc:creator>Samuelonoja</dc:creator>
      <pubDate>Mon, 30 Dec 2019 22:40:27 +0000</pubDate>
      <link>https://dev.to/samuelonoja/here-are-my-trendy-css-logo-loader-and-curtain-effect-1p4m</link>
      <guid>https://dev.to/samuelonoja/here-are-my-trendy-css-logo-loader-and-curtain-effect-1p4m</guid>
      <description>&lt;p&gt;Hello there...&lt;/p&gt;

&lt;p&gt;This is the primary blog entry I'm making on my new blog and I will be offering to you my wonderful codes so remember to bookmark me!.&lt;/p&gt;

&lt;p&gt;I'm sharing the source code for my trendy logo loader I utilized on Voxsugar. Visit the link to see the demo.&lt;/p&gt;

&lt;p&gt;There's not a lot to do other than adding some CSS snippets in for your CSS document and blast you are finished!&lt;/p&gt;

&lt;p&gt;Above all else include this snippet for the logo loader in your CSS document.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;body {
  font-family: "Texta", "AvenirNext-Regular", "Helvetica Neue", Helvetica, Arial,
   sans-serif;
  font-size: 18px;
  line-height: 30px;
  background-color: #fff;
  color: #2f3846;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body:before {
  content: "";
  width: 140px;
  left: 45%;
  position: fixed;
  top: 50%;
  height: 80px;
  background-image: url(/your-logo.png);
  background-repeat: no-repeat;
  background-size: inherit;
  animation: logoloader 1s ease-in-out forwards;
}

@keyframes logoloader {
  0% {
    visibility: visible;
  }

  100% {
    visibility: hidden;
  }
}
&lt;/code&gt;
&lt;/pre&gt;

&lt;p&gt;*Don't forget to replace the image url with your logo&lt;/p&gt;

&lt;p&gt;Lastly for the page transition add this to your CSS document again&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;
body:after {
  content: "";
  width: 100%;
  background-color: rgb(248, 36, 177);
  height: 100vh;
  position: fixed;
  transform: translateX(-100%);
  left: 0;
  top: 0;
  z-index: 99;
  animation: pagetransition 1.6s ease-in-out forwards;
}

main {
  visibility: hidden;
  animation: contentshow 0s ease-in-out forwards 0.8s;
}

@keyframes pagetransition {
  0% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes contentshow {
  0% {
    visibility: hidden;
  }

  100% {
    visibility: visible;
  }
}
&lt;/code&gt;
&lt;/pre&gt;

&lt;p&gt;Done..you have just added logo loader and curtain effect on your site.&lt;/p&gt;

&lt;p&gt;Original article &lt;a href="https://samio.dev/css-logo-loader-and-curtain-effect/"&gt;https://samio.dev/css-logo-loader-and-curtain-effect/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>css</category>
      <category>design</category>
      <category>codepen</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
