<?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: Sarah St. Timmerman</title>
    <description>The latest articles on DEV Community by Sarah St. Timmerman (@mooseseatgrass).</description>
    <link>https://dev.to/mooseseatgrass</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%2F370531%2F25d6107a-cce4-43d5-8d41-b58ab252b668.jpg</url>
      <title>DEV Community: Sarah St. Timmerman</title>
      <link>https://dev.to/mooseseatgrass</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mooseseatgrass"/>
    <language>en</language>
    <item>
      <title>CSS: R&amp;R part 2</title>
      <dc:creator>Sarah St. Timmerman</dc:creator>
      <pubDate>Sat, 06 Jun 2020 20:39:32 +0000</pubDate>
      <link>https://dev.to/mooseseatgrass/css-r-r-part-2-2co2</link>
      <guid>https://dev.to/mooseseatgrass/css-r-r-part-2-2co2</guid>
      <description>&lt;h1&gt;Welcome back!&lt;/h1&gt;

&lt;p&gt;Refreshing and revitalizing my CSS skills again this week! I'm here to share some more tips and tidbits I've learned with you all.&lt;/p&gt;

&lt;h2&gt;Attribute selector&lt;/h2&gt;

&lt;p&gt;I knew about the type selectors in CSS for ID, using a #, and class, using a . but I didn't know that you could select elements by their attributes. The attribute selector "matches and styles" elements with that attribute value. For example, if we wanted to select all the elements with the attribute value of 'checkbox' it would look like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="nt"&gt;type&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;'checkbox'&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;margin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;10px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;h2&gt;Types of length: Absolute and Relative&lt;/h2&gt;

&lt;h3&gt;Absolute&lt;/h3&gt;

&lt;p&gt;Absolute measurements are based on physical measurements, such as inches (in) or milimenters (mm). However, just as absolute measurements in the physical world are not as absolute as they may seem, so it is for computers based on the resolution of the screen. Thankfully, you don't have to be Einstein to understand or use absolute measurements. Just know that it's an approximation based on psychical units of measurement.&lt;/p&gt;

&lt;h3&gt;Relative&lt;/h3&gt;

&lt;p&gt;Relative units, like em or rem, are relative to another length. Em is relative to font size, but there are others that are relative to the view port. If you are using em, it will be sized relative to the parent elements font size.&lt;/p&gt;

&lt;h2&gt;Class declaration: Order matters!&lt;/h2&gt;  

&lt;p&gt;In my first R&amp;amp;R post I wrote about how you could assign two different classes to the same element but simply adding a space between the names when you declare the class on that element in the HTML. In CSS, more specific rules will take precedence over less specific ones if there is more than style applied to it. &lt;/p&gt;

&lt;p&gt;So what happens when you have two classes on one element telling the code to styles it in two different ways? It will override the first one that you have in the CSS for the last one you had listed in the CSS. Whichever name you declared first in the HTML doesn't matter though. &lt;/p&gt;

&lt;p&gt;Thanks again for stopping by to read! Hope this helps! Till next time!&lt;/p&gt;

</description>
      <category>css</category>
      <category>beginners</category>
      <category>codenewbie</category>
      <category>webdev</category>
    </item>
    <item>
      <title>CSS: Refresh, revitalize</title>
      <dc:creator>Sarah St. Timmerman</dc:creator>
      <pubDate>Tue, 02 Jun 2020 17:38:18 +0000</pubDate>
      <link>https://dev.to/mooseseatgrass/css-refresh-revitalize-5ch</link>
      <guid>https://dev.to/mooseseatgrass/css-refresh-revitalize-5ch</guid>
      <description>&lt;p&gt;Coding bootcamp was a great experience for me. I learned a lot in a very short amount of time. A twelve week crash course on all things Web Dev. But bootcamps are just that, fast, furious and intense. No matter how good the program, there's no way to retain all the information at such a breakneck speed.&lt;/p&gt;

&lt;p&gt;My next step as a junior web developer is going back over the information that I learned, refreshing and revitalizing it to sharpen my skills. I'm going through the CSS courses on freecodecamp.com and in the next few blog posts I'm going to be explaining some of things I am learning for the first time as well as the things I needed to refresher on. Hopefully it will help you as well.&lt;/p&gt;

&lt;p&gt;Back to basics:&lt;/p&gt;

&lt;p&gt;I've been dabbling with BEM and Tailwind, but for some reason I had forgotten that in basic CSS you can give things two separate class names simply by adding a space. I do have a tendency to get ahead of myself sometimes, so I really shouldn't be so surprised.&lt;/p&gt;

&lt;p&gt;We definitely talked about padding, margin and border, and I've been manipulating them. I'll be honest though, I did need to remind myself the differences between padding and margin. Padding is the space around the element, as if your element buddy was wearing a fluffy marshmallow jacket. Margin is the space between that element, other elements and the border of the element it is contained in. For examples sake, we'll have at least a six foot distance between each element for proper social distancing. &lt;/p&gt;

&lt;p&gt;Negative margins were completely new to me. I created my entire portfolio website by hand writing my CSS but I did not know about this. Changing a margin to a negative number makes the element larger. Neat!&lt;/p&gt;

&lt;p&gt;Hope this helps! Until next time, folks!&lt;/p&gt;

</description>
      <category>css</category>
      <category>freecodecamp</category>
      <category>afterbootcamp</category>
      <category>refresh</category>
    </item>
  </channel>
</rss>
