<?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: DGreat</title>
    <description>The latest articles on DEV Community by DGreat (@dgreat_45b76952cdaebc42bb).</description>
    <link>https://dev.to/dgreat_45b76952cdaebc42bb</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%2F4108671%2Fcb12c0e5-742b-46c6-9a38-e2c6a825693d.png</url>
      <title>DEV Community: DGreat</title>
      <link>https://dev.to/dgreat_45b76952cdaebc42bb</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dgreat_45b76952cdaebc42bb"/>
    <language>en</language>
    <item>
      <title>I Built a Liquid Navigation Bar with CSS &amp; JS (No Libraries)</title>
      <dc:creator>DGreat</dc:creator>
      <pubDate>Thu, 03 Sep 2026 20:26:15 +0000</pubDate>
      <link>https://dev.to/dgreat_45b76952cdaebc42bb/i-built-a-liquid-navigation-bar-with-css-js-no-libraries-50h1</link>
      <guid>https://dev.to/dgreat_45b76952cdaebc42bb/i-built-a-liquid-navigation-bar-with-css-js-no-libraries-50h1</guid>
      <description>&lt;p&gt;I wanted a nav bar that felt a little more alive than a standard tab bar, so I built a "liquid navigation" component — a bubble that dives, travels, and resurfaces under whichever icon is active.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;p&gt;The core trick is an SVG goo filter — a Gaussian blur followed by a contrast-boosted color matrix — which fuses overlapping shapes into one smooth blob instead of two hard-edged circles. On top of that, I used the Web Animations API to drive a 3-phase motion: dive down flush into the bar, travel sideways while submerged, then pop back up at the new position. That's what gives it the "liquid" feel instead of a flat slide.&lt;/p&gt;

&lt;p&gt;No frameworks, no animation libraries — just HTML, CSS, and vanilla JS.&lt;/p&gt;

&lt;h2&gt;
  
  
  Get the code
&lt;/h2&gt;

&lt;p&gt;I packaged it up as a drop-in component if you want to skip straight to using it in your own project:&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://dazzle0470.gumroad.com/l/pfdvh" rel="noopener noreferrer"&gt;https://dazzle0470.gumroad.com/l/pfdvh&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Would love feedback if you try it out, or ideas for other "liquid" UI interactions worth building next.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>productivity</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
