Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    How food and beverage giants like Ritz and Diageo are showing up for the Super Bowl this year

    GLP-1 draws pharma advertisers to double down on the Super Bowl

    Despite saturated live sports calendar, Super Bowl remains north star for brands

    Facebook X (Twitter) Instagram
    • Artificial Intelligence
    • Business Technology
    • Cryptocurrency
    • Gadgets
    • Gaming
    • Health
    • Software and Apps
    • Technology
    Facebook X (Twitter) Instagram Pinterest Vimeo
    Tech AI Verse
    • Home
    • Artificial Intelligence

      Read the extended transcript: President Donald Trump interviewed by ‘NBC Nightly News’ anchor Tom Llamas

      February 6, 2026

      Stocks and bitcoin sink as investors dump software company shares

      February 4, 2026

      AI, crypto and Trump super PACs stash millions to spend on the midterms

      February 2, 2026

      To avoid accusations of AI cheating, college students are turning to AI

      January 29, 2026

      ChatGPT can embrace authoritarian ideas after just one prompt, researchers say

      January 24, 2026
    • Business

      New VoidLink malware framework targets Linux cloud servers

      January 14, 2026

      Nvidia Rubin’s rack-scale encryption signals a turning point for enterprise AI security

      January 13, 2026

      How KPMG is redefining the future of SAP consulting on a global scale

      January 10, 2026

      Top 10 cloud computing stories of 2025

      December 22, 2025

      Saudia Arabia’s STC commits to five-year network upgrade programme with Ericsson

      December 18, 2025
    • Crypto

      Tether Freezes $500 Million in Assets Linked to Turkish Gambling Ring

      February 7, 2026

      Crypto.com CEO Pivots to AI Agents, Launch Planned For Super Bowl

      February 7, 2026

      Will Solana’s Price Recovery Be Challenging? Here’s What On-Chain Signals Suggest

      February 7, 2026

      China Widens Crypto Ban to Choke Off Stablecoins and Asset Tokenization

      February 7, 2026

      CFTC Expands Crypto Collateral Pilot to Include National Trust Bank Stablecoins

      February 7, 2026
    • Technology

      How food and beverage giants like Ritz and Diageo are showing up for the Super Bowl this year

      February 8, 2026

      GLP-1 draws pharma advertisers to double down on the Super Bowl

      February 8, 2026

      Despite saturated live sports calendar, Super Bowl remains north star for brands

      February 8, 2026

      Lego is building out an in-house programmatic team

      February 8, 2026

      Forget AGI, business leaders are still trying to figure out how to make AI work

      February 7, 2026
    • Others
      • Gadgets
      • Gaming
      • Health
      • Software and Apps
    Check BMI
    Tech AI Verse
    You are at:Home»Technology»Show HN: I saw this cool navigation reveal, so I made a simple HTML+CSS version
    Technology

    Show HN: I saw this cool navigation reveal, so I made a simple HTML+CSS version

    TechAiVerseBy TechAiVerseFebruary 7, 2026No Comments1 Min Read0 Views
    Facebook Twitter Pinterest Telegram LinkedIn Tumblr Email Reddit
    Show HN: I saw this cool navigation reveal, so I made a simple HTML+CSS version
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp Email

    Show HN: I saw this cool navigation reveal, so I made a simple HTML+CSS version

    Fun with clip-path

    This is a simple code exploration, inspired by (and stollen from) https://iventions.com/, saw it on X here.

    In this example, I’m trying to implement a menu that is revealed when the user clicks on a button. With HTML+CSS only. No JS.

    There are two clip-paths:

    The menu is revealed by a circle that grows from the top-left corner of the screen to the bottom-right corner. A fun clip-path calculation that I used here (clip-path: circle(calc(1.42 * 100vmax) at 0 0);) is based on the vmax, which is the larger of the viewport width or height. Then multiplied it by 1.42, because 1.42 is the square root of 2, which is the ratio of the width to the height of the viewport.

    The second clip-path is a polygon that is used to simulate the “ray”.
    The polygon is hardcoded now, but it can be calculated with js, for dynamic dimension that respect the navigation dimensions for responsiveness.

    Thanks for stopping by.

    Share. Facebook Twitter Pinterest LinkedIn Reddit WhatsApp Telegram Email
    Previous ArticleI write games in C (yes, C)
    Next Article Speed up responses with fast mode
    TechAiVerse
    • Website

    Jonathan is a tech enthusiast and the mind behind Tech AI Verse. With a passion for artificial intelligence, consumer tech, and emerging innovations, he deliver clear, insightful content to keep readers informed. From cutting-edge gadgets to AI advancements and cryptocurrency trends, Jonathan breaks down complex topics to make technology accessible to all.

    Related Posts

    How food and beverage giants like Ritz and Diageo are showing up for the Super Bowl this year

    February 8, 2026

    GLP-1 draws pharma advertisers to double down on the Super Bowl

    February 8, 2026

    Despite saturated live sports calendar, Super Bowl remains north star for brands

    February 8, 2026
    Leave A Reply Cancel Reply

    Top Posts

    Ping, You’ve Got Whale: AI detection system alerts ships of whales in their path

    April 22, 2025657 Views

    Lumo vs. Duck AI: Which AI is Better for Your Privacy?

    July 31, 2025245 Views

    6.7 Cummins Lifter Failure: What Years Are Affected (And Possible Fixes)

    April 14, 2025148 Views

    6 Best MagSafe Phone Grips (2025), Tested and Reviewed

    April 6, 2025111 Views
    Don't Miss
    Technology February 8, 2026

    How food and beverage giants like Ritz and Diageo are showing up for the Super Bowl this year

    How food and beverage giants like Ritz and Diageo are showing up for the Super…

    GLP-1 draws pharma advertisers to double down on the Super Bowl

    Despite saturated live sports calendar, Super Bowl remains north star for brands

    Lego is building out an in-house programmatic team

    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    About Us
    About Us

    Welcome to Tech AI Verse, your go-to destination for everything technology! We bring you the latest news, trends, and insights from the ever-evolving world of tech. Our coverage spans across global technology industry updates, artificial intelligence advancements, machine learning ethics, and automation innovations. Stay connected with us as we explore the limitless possibilities of technology!

    Facebook X (Twitter) Pinterest YouTube WhatsApp
    Our Picks

    How food and beverage giants like Ritz and Diageo are showing up for the Super Bowl this year

    February 8, 20262 Views

    GLP-1 draws pharma advertisers to double down on the Super Bowl

    February 8, 20262 Views

    Despite saturated live sports calendar, Super Bowl remains north star for brands

    February 8, 20262 Views
    Most Popular

    7 Best Kids Bikes (2025): Mountain, Balance, Pedal, Coaster

    March 13, 20250 Views

    VTOMAN FlashSpeed 1500: Plenty Of Power For All Your Gear

    March 13, 20250 Views

    This new Roomba finally solves the big problem I have with robot vacuums

    March 13, 20250 Views
    © 2026 TechAiVerse. Designed by Divya Tech.
    • Home
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms & Conditions

    Type above and press Enter to search. Press Esc to cancel.