<?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: Monet C</title>
    <description>The latest articles on DEV Community by Monet C (@smonetc).</description>
    <link>https://dev.to/smonetc</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%2F456932%2F7b447bbd-5913-495f-a245-7875b72e1b8a.jpeg</url>
      <title>DEV Community: Monet C</title>
      <link>https://dev.to/smonetc</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/smonetc"/>
    <language>en</language>
    <item>
      <title>Code Newbie CSS Art pt.3</title>
      <dc:creator>Monet C</dc:creator>
      <pubDate>Wed, 10 Mar 2021 04:23:25 +0000</pubDate>
      <link>https://dev.to/smonetc/code-newbie-css-art-pt-3-5faa</link>
      <guid>https://dev.to/smonetc/code-newbie-css-art-pt-3-5faa</guid>
      <description>&lt;p&gt;It's been soooo long! Happy New Year and I hope you all are staying safe! My goal is to bring you more CSS Art tutorials and other blog posts this year, on a regular schedule. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--B6pMOB66--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lxvxyqm8ei6hfx5i1d3z.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--B6pMOB66--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lxvxyqm8ei6hfx5i1d3z.jpeg" alt="Buck Tooth Smiley Face" width="800" height="525"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2) HTML
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;div class="head"&amp;gt;
  &amp;lt;div class="l-eye"&amp;gt;&amp;lt;/div&amp;gt;
  &amp;lt;div class="r-eye"&amp;gt;&amp;lt;/div&amp;gt;
  &amp;lt;div class="mouth"&amp;gt;
    &amp;lt;div class="l-teeth"&amp;gt;&amp;lt;/div&amp;gt;
    &amp;lt;div class="r-teeth"&amp;gt;&amp;lt;/div&amp;gt;
  &amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  3) CSS
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.head {
  background-color: yellow;
  width: 500px;
  height: 500px;
  position: relative;
  border-radius: 50%;
  left: 25%;
  top: 80px;
}

.l-eye {
  position: absolute;
  background-color: black;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  top: 100px;
  left: 20%;
}

.r-eye {
  position: absolute;
  background-color: black;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  top: 100px;
  right: 20%;
}

.mouth {
  position: absolute;
  background-color: black;
  width: 200px;
  height: 100px;
  top: 300px;
  left: 30%;
  border-bottom-left-radius: 50%;
  border-bottom-right-radius: 50%;
}

.l-teeth {
  position: absolute;
  background-color: white;
  width: 40px;
  height: 30px;
  left: 29%;
}

.r-teeth {
  position: absolute;
  background-color: white;
  width: 40px;
  height: 30px;
  right: 29%;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Live view of the code and image &lt;a href="https://codepen.io/wanderingdev/pen/poNQpVp"&gt;here&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;I hope you like this silly little face. It's been a while since I created any CSS Art so it's pretty simple, but I like him. The next few images will be even better! I want to build up to creating single-div CSS images. Please share resources and links to your own CSS art.&lt;/p&gt;

&lt;p&gt;In my previous post, I share lots of resources for getting started in CSS art check it out &lt;a href="https://dev.to/smonetc/code-newbie-css-art-10bl"&gt;here&lt;/a&gt;!&lt;/p&gt;

</description>
      <category>css</category>
      <category>html</category>
      <category>beginners</category>
      <category>100daysofcode</category>
    </item>
    <item>
      <title>Code Newbie CSS Art pt2</title>
      <dc:creator>Monet C</dc:creator>
      <pubDate>Sun, 18 Oct 2020 02:27:39 +0000</pubDate>
      <link>https://dev.to/smonetc/code-newbie-css-art-pt2-3c79</link>
      <guid>https://dev.to/smonetc/code-newbie-css-art-pt2-3c79</guid>
      <description>&lt;h1&gt;
  
  
  Hello everyone!
&lt;/h1&gt;

&lt;p&gt;Here is a quick tutorial on another static CSS image I created a few weeks ago. I hope to show more CSS images that are responsive soon. But I'm currently learning Node.js and that is taking all my time!&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fwzqy7g2y4ayai5655pbh.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fwzqy7g2y4ayai5655pbh.jpeg" alt="Robot CSS image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  1) HTML:
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;div class="container"&amp;gt;
      &amp;lt;div class="robothead"&amp;gt;
        &amp;lt;div class="ear"&amp;gt;&amp;lt;/div&amp;gt;
        &amp;lt;div class="antenna"&amp;gt;&amp;lt;/div&amp;gt;
        &amp;lt;div class="face"&amp;gt;
          &amp;lt;div class="eyes"&amp;gt;
            &amp;lt;div class="pupil"&amp;gt;&amp;lt;/div&amp;gt;
          &amp;lt;/div&amp;gt;
          &amp;lt;div class="mouth"&amp;gt;&amp;lt;/div&amp;gt;
        &amp;lt;/div&amp;gt;
      &amp;lt;/div&amp;gt;
      &amp;lt;div class="body"&amp;gt;
        &amp;lt;div class="neck"&amp;gt;&amp;lt;/div&amp;gt;
        &amp;lt;div class="torso"&amp;gt;&amp;lt;/div&amp;gt;
      &amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2) CSS:
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;* {
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #defff9;
}

.container {
  background-color: #f6393c;
  position: relative;
  width: 500px;
  height: 500px;
  top: 40px;
  left: 30px;
  border-radius: 50%;
  overflow: hidden;
}

.robothead {
  background-color: #bbbbbb;
  position: relative;
  width: 50%;
  height: 50%;
  top: 160px;

  border-radius: 20px;
}

.ear {
  background-color: #ff8c00;
  position: absolute;
  width: 30px;
  height: 60px;
  border-radius: 6px;
  top: 80px;
  left: -30px;
}

.ear::after {
  content: "";
  background-color: #ff8c00;
  position: absolute;
  width: 30px;
  height: 60px;
  border-radius: 6px;
  left: 280px;
}

.antenna {
  position: relative;
  background-color: #ff8c00;
  width: 60px;
  height: 20px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  bottom: 20px;
}

.antenna::before {
  content: "";
  position: absolute;
  background-color: #ff8c00;
  width: 14px;
  height: 20px;
  bottom: 19px;
  left: 23px;
}

.antenna::after {
  content: "";
  position: absolute;
  background-color: #ff8c00;
  width: 30px;
  height: 30px;
  bottom: 37px;
  left: 15px;
  border-radius: 50%;
}

.face {
  position: relative;
  /* border: 1px solid white; */
  width: 200px;
  height: 200px;
}

.eyes {
  position: absolute;
  background-color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  top: 40px;
  left: 8px;
}

.eyes::after {
  content: "";
  position: absolute;
  background-color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  left: 118px;
}

.pupil {
  position: absolute;
  background-color: black;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  top: 30px;
  left: 20px;
}

.pupil::after {
  content: "";
  position: absolute;
  background-color: black;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  left: 106px;
  z-index: 1;
}

.mouth {
  position: absolute;
  border-top: 3px solid black;
  width: 150px;
  height: 10px;
  bottom: 30px;
  left: 25px;
}

.body {
  position: relative;
  top: 160px;
}

.neck {
  position: relative;
  width: 20px;
  height: 80px;
  background-color: #bbbbbb;
}

.torso {
  position: relative;
  background-color: #bbbbbb;
  width: 140px;
  height: 70px;
  border-radius: 20px;
  bottom: 50px;
}

.torso::after {
  content: "";
  position: absolute;
  background-color: #ff8c00;
  width: 40px;
  height: 20px;
  border-bottom-left-radius: 50%;
  border-bottom-right-radius: 50%;
  left: 50px;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Live view of the code and image &lt;a href="https://codepen.io/wanderingdev/pen/WNwVXBR" rel="noopener noreferrer"&gt;here&lt;/a&gt;!
&lt;/h4&gt;

&lt;p&gt;I hope you like this little guy. I thought he was adorable. He's not perfect and I'm still working on my CSS and CSS art skills. The next few images will be even better. I want to build up to creating single-div CSS images. Please share resources and links to your own CSS art.&lt;/p&gt;

&lt;p&gt;In my previous post, I share lots of resources for getting started in CSS art check it out &lt;a href="https://dev.to/smonetc/code-newbie-css-art-10bl"&gt;here&lt;/a&gt;!   &lt;/p&gt;

</description>
      <category>beginners</category>
      <category>css</category>
      <category>html</category>
      <category>100daysofcode</category>
    </item>
    <item>
      <title>Code newbie CSS art</title>
      <dc:creator>Monet C</dc:creator>
      <pubDate>Sat, 03 Oct 2020 23:23:24 +0000</pubDate>
      <link>https://dev.to/smonetc/code-newbie-css-art-10bl</link>
      <guid>https://dev.to/smonetc/code-newbie-css-art-10bl</guid>
      <description>&lt;h1&gt;
  
  
  HIYA!
&lt;/h1&gt;

&lt;h3&gt;
  
  
  Learn how to make a simple coffee cup using only HTML and CSS!
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv3y8249itqh0wr9w1bb4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv3y8249itqh0wr9w1bb4.png" alt="image of pure CSS coffee cup" width="800" height="834"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'm a coding newb currently enrolled at &lt;a href="https://www.bloc.io/" rel="noopener noreferrer"&gt;Bloc.io&lt;/a&gt; in their Full-Stack developer track. I've grown to love CSS art and even though I know there are tons of blog posts about CSS art I wanted to share my thoughts on how to get started. &lt;/p&gt;

&lt;h4&gt;
  
  
  1) You do not have to be a CSS master to make CSS images:
&lt;/h4&gt;

&lt;p&gt;I believe this wholeheartedly, I myself am no CSS ninja (yet ;-) )but I've been able to make some pretty cool images so far. I recommend using your preferred text editor or a website like &lt;a href="https://codepen.io/" rel="noopener noreferrer"&gt;codepen&lt;/a&gt; or &lt;a href="https://codesandbox.io/index2" rel="noopener noreferrer"&gt;codesandbox&lt;/a&gt;. &lt;/p&gt;

&lt;h4&gt;
  
  
  2) Learn positioning:
&lt;/h4&gt;

&lt;p&gt;It would help to have a general understanding of positioning, especially relative and absolute. To get a general understanding check out &lt;a href="https://css-tricks.com/almanac/properties/p/position/" rel="noopener noreferrer"&gt;CSS Tricks&lt;/a&gt; and &lt;a href="https://www.youtube.com/watch?v=P6UgYq3J3Qs" rel="noopener noreferrer"&gt;Kevin Powell on YT&lt;/a&gt;. There are tons of other CSS properties that you should know and can learn with experience, but if you know the basics and positioning then you are all set :-)!    &lt;/p&gt;

&lt;h4&gt;
  
  
  3) Let's write up the HTML:
&lt;/h4&gt;

&lt;p&gt;Here we used 5 very simple divs to create this cup of joe.&lt;br&gt;
A container to house the cup and steam. A div for the cup, the cup div has a child div called handle. After the cup div, there is a sibling div called steam-container here is where the child div steam is placed and makes the steam coming from the cup.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;div class="container"&amp;gt;
   &amp;lt;div class="cup"&amp;gt;
     &amp;lt;div class="handle"&amp;gt;&amp;lt;/div&amp;gt;
   &amp;lt;/div&amp;gt;
   &amp;lt;div class="steam-container"&amp;gt;
     &amp;lt;div class="steam"&amp;gt;&amp;lt;/div&amp;gt;
   &amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  4) Now the fun stuff, the CSS:
&lt;/h4&gt;

&lt;p&gt;Note that a few CSS properties used in my code are position relative and absolute, ::before and ::after ( more information on this here: &lt;a href="https://www.youtube.com/watch?v=zGiirUiWslI" rel="noopener noreferrer"&gt;Kevin Powell on YT&lt;/a&gt;), and animation (more information on this here: &lt;a href="https://www.w3schools.com/css/css3_animations.asp" rel="noopener noreferrer"&gt;W3Schools&lt;/a&gt;).&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;*{
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color:lavender;
}

.container{
    margin: 0 auto;
    position: relative;
    width: 700px;
    height: 700px;
    top: 30px;
}

.cup{
    background-color: white;
    position: relative;
    width: 200px;
    height: 250px;
    border-radius: 10px;
    top: 240px;
    left: 220px;
}

.handle{
    background-color: white;
    position: absolute;
    width: 170px;
    height: 150px;
    right: -100px;
    top: 50px;
    border-radius: 50%;
}

.handle:after{
    content: "";
    position: absolute;
    background-color: lavender;
    width: 60px;
    height: 60px;
    top: 45px;
    right: 40px;
    border-radius: 50%;
}

.steam-container{
    width: 200px;
    height: 100px;
    position: relative;
    bottom: 100px;
    left: 220px;
}

.steam{
    position: absolute;
    background-color:grey;
    opacity: 0;
    filter: blur(5px);
    height: 80px;
    width: 30px;
    left: 30px;
    animation: steam 3s linear infinite;
}

.steam::before{
    content: '';
    position: absolute;
    background-color:grey;
    height: 80px;
    width: 30px;
    left: 50px;
}

.steam::after{
    content: '';
    position: absolute;
    background-color:grey;
    height: 80px;
    width: 30px;
    left: 100px;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  5) The Animation code if you're interested:
&lt;/h4&gt;

&lt;p&gt;Please note in the CSS code above in the .steam{...} section there is an animation called "steam" which goes on for 3 seconds, we declare linear so that the animation has the same speed from start to end, and then we call infinite so that the animation plays forever. With this, we will then make a keyframe called steam and then set the animation.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@keyframes steam{
    0%
    {
        opacity: 0.1;
    }
    75%
    {
        opacity: 0.3;
    }
    100%
    {
        opacity: 0.1;
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;To see the animation in action check out my &lt;a href="https://codepen.io/wanderingdev/pen/abNemVr" rel="noopener noreferrer"&gt;Codepen&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Thanks for reading and checking out my little tutorial. Please provide any feedback you may have. :-) I love CSS art so more blog posts to come.&lt;/p&gt;

</description>
      <category>html</category>
      <category>css</category>
      <category>beginners</category>
      <category>100daysofcode</category>
    </item>
  </channel>
</rss>
