10.css is a CSS framework that replicates the Windows 10 interface design for your web applications. It's a direct fork of XP.css that maintains all the same structure, class names, and HTML patterns, but updates the visual design to match Microsoft's Windows 10 UI.
Key Features
Zero dependencies, drop-in integration, no JavaScript required for core functionality, and perfect for nostalgic or themed interfaces.
Drop-in Replacement
If you're already using XP.css, you can simply replace it with 10.css without changing any HTML markup.
Dark Mode
Unlike the original XP.css, 10.css includes built-in dark mode support that mimics Windows 10 dark theme.
Framework Agnostic
Works with any front-end framework or vanilla HTML - no dependencies required.
Responsive Design
Components adapt to different screen sizes while maintaining the Windows 10 look and feel.
Installation
<!-- From GitHub -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/apersonwhomakesstuff/10.css@main/10.css">
# Download the CSS file directly from GitHub
curl -O https://raw.githubusercontent.com/apersonwhomakesstuff/10.css/main/10.css
# Note: This is a placeholder - coming soon to NPM
npm install 10css
Download Options
You can download 10.css as a ZIP file with all necessary files, or just include the CSS file in your project.
This window has a colored title bar with the "colored-title" class.
<!-- Active window -->
<div class="window active">
<div class="title-bar">
<div class="title-bar-text">Active Window</div>
<!-- Controls as above -->
</div>
<div class="window-body">
<p>This window has the "active" class applied.</p>
</div>
</div>
<!-- Colored title bar -->
<div class="window colored-title">
<div class="title-bar">
<div class="title-bar-text">Colored Title Bar</div>
<!-- Controls as above -->
</div>
<div class="window-body">
<p>This window has a colored title bar.</p>
</div>
</div>
Dialogs & Message Boxes
Message Box
Information
This is an information message.
<div class="message-box">
<img src="win10-info-icon.png" alt="Info">
<div class="message-content">
<h4>Information</h4>
<p>This is an information message.</p>
</div>
</div>