<?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: Sajin Joe J</title>
    <description>The latest articles on DEV Community by Sajin Joe J (@sajin_joe).</description>
    <link>https://dev.to/sajin_joe</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4116906%2Fd2369dd7-f1b2-4cea-99cf-737100ba1dfc.jpg</url>
      <title>DEV Community: Sajin Joe J</title>
      <link>https://dev.to/sajin_joe</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sajin_joe"/>
    <language>en</language>
    <item>
      <title>Difference Between vh, vw &amp; px</title>
      <dc:creator>Sajin Joe J</dc:creator>
      <pubDate>Fri, 11 Sep 2026 04:14:27 +0000</pubDate>
      <link>https://dev.to/sajin_joe/difference-between-vh-vw-px-2kd8</link>
      <guid>https://dev.to/sajin_joe/difference-between-vh-vw-px-2kd8</guid>
      <description>&lt;p&gt;1.px (Pixels)&lt;br&gt;
    Pixels are the traditional building blocks of web design. If you set an item's width to 300px, it will stay exactly 300 pixels wide whether a user views it on a tiny smartphone or a massive desktop monitor.&lt;/p&gt;

&lt;p&gt;2.vw (Viewport Width)&lt;br&gt;
    The "viewport" is simply the visible area of the browser window. 1vw is equal to 1% of the viewport's total width.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; If a browser window is 1200px wide, 10vw evaluates to 120px. If the user resizes the browser down to 600px, that same 10vw immediately shrinks to 60px.&lt;/p&gt;

&lt;p&gt;3.vh (Viewport Height)&lt;br&gt;
Similar to vw, 1vh is equal to 1% of the viewport's total height. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; If you want a striking hero image to perfectly fill the user's screen right when they land on your site, you can set its height to 100vh. It will fill the screen vertically whether they are on a tall monitor or a landscape tablet&lt;/p&gt;

</description>
      <category>css</category>
      <category>frontend</category>
    </item>
  </channel>
</rss>
