Skip to content

esadakman/html-popover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CSS Popover Demo

A simple demonstration of the HTML <dialog> element with the popover attribute, showcasing how to create a profile menu popup that's anchored to a button.

Features

  • Native HTML popover functionality using the <dialog> element
  • Profile menu triggered by a button click. (No JS)
  • Accessible button with visually hidden text
  • Responsive design
  • Profile information display

Project Skeleton

html-popover (folder)
|── README.md
SOLUTION
├── assets
│    └── style.css
└── index.html

Installation

$ git clone https://github.com/esadakman/html-popover.git
$ cd html-popover

  • Open the project with VS Code or other IDE's
  • Include the HTML structure from index.html
  • Link the stylesheet from assets/style.css
  • The popover will automatically work with the native HTML popover API

Preview of the Project

popover

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published