Skip to content

terminalcommandnewsletter/just-some-windows

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Just Some Windows

A project using HTML and CSS to create windows. Contributions welcome!

Types of Windows

You can choose from:

  • A hanging window
  • A regular window

HTML

The HTML is rather simple. It's just a 2x2 table with borders and a transparent background.

CSS

The CSS involves a backdrop-filter property (or in the case of the regular window, a filter property) blurring the area behind the window.

Other than that, the code just center-aligns it, adds a rope (in the case of the hanging window), etc.

JS

The JS is just 25 lines that randomly may make the window blow away and make the user reload the game.

About

🪟 Just Some Windows - Creating windows with HTML+CSS

Topics

Resources

License

Stars

Watchers

Forks