Skip to content

UlisesPLopez/vitralcss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔮 VitralCSS

VitralCSS is a lightweight visual micro-framework inspired by Frutiger Aero aesthetics and Apple's Liquid Glass design language. It offers animated visual components based on the essential elements of nature: Water, Ice, Fog, Fire, and Glass.

All in a single .css and .js file — ready to use!


✨ Features

  • Nature-Inspired Effects — Water, Ice, Fog, Fire, and Glass visual themes
  • Frutiger Aero Revival — Transparent, glossy aesthetics with depth and realism
  • No Dependencies — Pure CSS & vanilla JavaScript
  • Smooth Animations — Fluid transitions and hover effects built-in
  • Easy Hover Toggle — Add with-hover class for interactive states
  • Panel Components — Rectangular containers with <element>-Panel-# classes
  • Custom Shapes — Animated organic forms with <element>-Cu-# classes
  • Dark Mode Ready — Use .dark-style & modifier for dark themes
  • Lightweight — Minimal footprint, maximum visual impact

🚀 Quick Start

NPM

npm install vitracss

CDN

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vitracss/dist/VitraCss.min.css">
<script src="https://cdn.jsdelivr.net/npm/vitracss/dist/VitraCss.min.js" defer></script>

📦 Available Classes

Panels

<div class="Glass-Panel-1">...</div>
<div class="Water-Panel-5">...</div>
<div class="Ice-Panel-10">...</div>

Elements: glass, water, ice, fog, fire
Variants: 1-10

Custom Shapes

<div class="Glass-Cu-1">...</div>
<div class="Fire-Cu-5">...</div>
<div class="Fog-Cu-10">...</div>

Interactive Hover

Add with-hover to any component:

<div class="Glass-Panel-5 with-hover">Hover me!</div>

Dark Style

Wrap components with .dark-style for dark themes:

<div class="dark-style">
  <div class="Glass-Panel-5">Dark mode ready!</div>
</div>

🎨 Example

<!DOCTYPE html>
<html>
<head>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vitracss/dist/VitraCss.min.css">
</head>
<body>
  <div class="Glass-Panel-5 with-hover" style="padding: 2rem; text-align: center;">
    <h1>Hello VitralCSS!</h1>
  </div>
  <script src="https://cdn.jsdelivr.net/npm/vitracss/dist/VitraCss.min.js" defer></script>
</body>
</html>

📄 License

MIT License © Ulises López

About

VitralCSS - A lightweight CSS framework inspired by Frutiger Aero and Apple's Liquid Glass. Nature-themed visual effects: Water, Ice, Fog, Fire, and Glass.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors