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

https://github.com/hayayanai/inline-css-bits

A collection of copy-paste inline CSS effects for Markdown HTML.
https://github.com/hayayanai/inline-css-bits

css inline-css inline-styles

Last synced: 12 days ago
JSON representation

A collection of copy-paste inline CSS effects for Markdown HTML.

Awesome Lists containing this project

README

          

# inline-css-bits

A collection of copy-paste inline CSS effects for Markdown HTML.

[![GitHub stars](https://img.shields.io/github/stars/hayayanai/inline-css-bits)](https://github.com/hayayanai/inline-css-bits/stargazers)
[![License: MIT + Commons Clause](https://img.shields.io/badge/license-MIT%20%2B%20Commons%20Clause-green)](./LICENSE.md)

## Documentation

Visit [inline-css-bits](https://hayayanai.github.io/inline-css-bits/) to browse all effects with live previews.

## About

inline-css-bits is a showcase of inline CSS effects that work solely via `style=""` attributes — no `` tags or `<script>` needed.

Every effect is designed to be copied and pasted directly into Markdown HTML, making it perfect for README files, GitHub Pages, blog posts, and anywhere that supports inline HTML.

**Note:** Although this site is built with Astro, this project is not an Astro port of React Bits or Vue Bits. inline-css-bits is an independent project focused specifically on inline `style=""` effects for Markdown HTML.

## Key Features

- **55+ Effects** — Text effects, backgrounds, and UI components across 3 categories
- **Copy & Paste** — Just copy an effect and paste it into your HTML. No setup required
- **Zero Dependencies** — Everything works with just the `style=""` attribute
- **Customizable** — Tweak colors, sizes, and values directly in the inline styles

## Usage

Browse the [documentation site](https://hayayanai.github.io/inline-css-bits/), find an effect you like, and copy the code:

```html
<!-- Example: Neon Glow text -->
<span
style="color:#0ff;text-shadow:0 0 7px #0ff,0 0 10px #0ff,0 0 21px #0ff,0 0 42px #0ff"
>
Neon Glow
</span>
```

Paste it into any Markdown file or HTML document. That's it.

## Development Commands

- `pnpm dev` — Start local dev server
- `pnpm build` — Build static site
- `pnpm lint` — Run oxlint
- `pnpm format` — Format the repository with Prettier
- `pnpm format:check` — Check formatting in CI/local

## Credit

This project is heavily inspired by [React Bits](https://github.com/davidhdev/react-bits) and [Vue Bits](https://github.com/davidhdev/vue-bits) by [davidhdev](https://github.com/davidhdev). The site structure and concept of providing copy-paste ready effects are based on their excellent work.

## Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request.

## License

[MIT + Commons Clause](./LICENSE.md) (c) 2026 hayayanai