botoxparty/XP.css
botoxparty/XP.css has 3,155 GitHub stars and 142 forks. GitHot measured 0 stars in 24 hours, +5 in 7 days, and +10 in 15 days. Last checked 2026-11-22 19:19 UTC. Last push 2025-03-08.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- +5
- in 15 days
- +10
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
운영체제 GUI를 충실하게 재현하기 위한 CSS 프레임워크입니다.
개발 도구README.md
OriginalXP.css
A design system for building faithful recreations of old UIs.


XP.css is an extension of 98.css. A CSS file that takes semantic HTML and makes it look pretty. It does not ship with any JavaScript, so it is compatible with your frontend framework of choice.
Installation / Usage
The easiest way to use XP.css is to import it from unpkg.
<!DOCTYPE html>
<html lang="en">
<head>
<title>XP.css example</title>
<meta charset="UTF-8" />
<!-- Windows XP Theme (include only one theme at a time) -->
<link rel="stylesheet" href="https://unpkg.com/xp.css" />
<!-- Windows 98 Theme (include only one theme at a time) -->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/98.css" />
</head>
<body>
<div class="window" style="margin: 32px; width: 250px">
<div class="title-bar">
<div class="title-bar-text">
My First Program
</div>
</div>
<div class="window-body">
<p>Hello, world!</p>
</div>
</div>
</body>
</html>
Alternatively, you can grab XP.css from npm.
npm install xp.css
Usage:
// For XP
import "xp.css/dist/XP.css";
// For 98
import "xp.css/dist/98.css";
Here is an example of XP.css being used with React, and an example with vanilla JavaScript.
Refer to the documentation page for specific instructions on this library's components.
Developing
Clone the repo and run npm install.
The core styles are managed in gui.
To create your own theme for the GUI you can extend the core styles. See the XP and 98 themes
You can use npm start to start a development environment that will watch for file changes and rebuild the files, reloading your browser in the process.
You can run a build manually with npm run build. This will write to the dist/ directory.
Issues, Contributing, etc.
I would love to see other people's work on gui.css, if anyone else if up for creating a theme for another OS using this framework. Also new components and bugs/issues are also welcome! Feel free to contribute in whatever way you like!
Also please refer to the GitHub issues page for jdan's 98.css.
License
관련 프로젝트 살펴보기
불러오는 중…