Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/serkodev/master-styles-group

A plugin for Master Styles to group up styles and add selectors.
https://github.com/serkodev/master-styles-group

css group html master plugin style ui virtual

Last synced: 3 months ago
JSON representation

A plugin for Master Styles to group up styles and add selectors.

Awesome Lists containing this project

README

        

# master-styles-group

A plugin for [Master Styles](https://github.com/master-co/styles) to group up styles and add selectors.

### THIS PROJECT IS IN BETA

This project may contain bugs and have not being tested at all. Use under your own risk, but feel free to test, make pull request and improve this project.

## Features

- Group up master styles
- Add a [Selector](https://docs.master.co/styles/selectors) / [Breakpoints](https://docs.master.co/styles/breakpoints) / [Media Queries](https://docs.master.co/styles/media-queries), etc. for all styles inside a group in one-line.
- Support for adding selectors in front of style group
- Support nested group

## Install

Before starting, make sure you have [Master Styles](https://docs.master.co/styles/setup) installed.

> ⚗️ **Experimental**

```
npm install master-styles-group
```

```
yarn add master-styles-group
```

### CDN

```html

```

## Setup

```js
import "master-styles-group";
```

## Usage

- Use `{}` to group up styles
- Use `;_` to separate each style
- Put a selector at start or end

### Examples

```html


```

#### Nested Group

```html


```

## License

MIT License