An open API service indexing awesome lists of open source software.

https://github.com/rajjitlai/fun-with-js-css

Create and Play with your own CSS styling
https://github.com/rajjitlai/fun-with-js-css

css design js play style-elements title

Last synced: 21 days ago
JSON representation

Create and Play with your own CSS styling

Awesome Lists containing this project

README

          

# Fun with JS and CSS 🎨

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

An interactive, real-time CSS playground designed to help developers and designers experiment with styling in a live environment.

## 🚀 Overview

**Fun with JS and CSS** is a lightweight web application that allows users to manipulate CSS styles and see the results instantly. It features an editable style block and content components, making it an ideal environment for testing CSS concepts, layouts, and animations without project overhead.

---

## ✨ Features

- **Live CSS Editing**: Edit styles directly in the browser via a `contenteditable` `` tag.
- **Interactive Elements**: Play with layout and positioning on live-editable components.
- **Dynamic UX**: Includes a unique JavaScript feature that changes the page title when the window focus changes, keeping user engagement high.
- **Lightweight & Fast**: Built with vanilla HTML, CSS, and JavaScript.

---

## 🛠️ Getting Started

### Prerequisites

All you need is a modern web browser (Chrome, Firefox, Safari, or Edge).

### Installation

1. Clone the repository:
```bash
git clone https://github.com/rajjitlai/fun-with-js-css.git
```
2. Open `index.html` in your browser.

### How to Use

- Locate the styling section in the middle of the page.
- Modify the CSS rules within the editable fields.
- Watch as the elements on the page update in real-time.

---

## 📅 Project History

- **Original Creation**: 08/02/2023
- **Latest Update**: 2026 (Professional documentation & licensing)

---

## 📝 License

Distributed under the MIT License. See `LICENSE` for more information.

---

**Author**: [Rajjit Laishram](https://github.com/rajjitlai)

*Created with ❤️ for the love of CSS.*