8.0.3 • Published 10 months ago

@zendeskgarden/css-buttons v8.0.3

Weekly downloads
670
License
Apache-2.0
Repository
github
Last release
10 months ago

@zendeskgarden/css-buttons npm version

This package contains basic .c-btn component styling.

Installation

npm install @zendeskgarden/css-buttons

Usage

Once installed, button CSS can be accessed via postcss-import.

@import '@zendeskgarden/css-buttons';

Button CSS is intended to enhance the following HTML.

<button class="c-btn">CLICK ME</button>

Accessibility

If you are unable to use a native HTML <button>, be sure to add the appropriate role attribute.

<a class="c-btn" href="#" role="button">LINK BUTTON</a>

Also note that the element must be able to receive focus and can be activated using either the enter or space keys. Conversely, a disabled button should not be able to receive focus.

<a class="c-btn is-disabled" href="#" role="button" tabindex="-1">DISABLED LINK BUTTON</a>

Modifications

See http://zendeskgarden.github.io/css-components/?path=/story/components-buttons for various button modification classes.

8.0.3

10 months ago

8.0.2

11 months ago

8.0.1

3 years ago

8.0.0

4 years ago

7.0.19

4 years ago

7.0.18

4 years ago

7.0.17

4 years ago

7.0.16

5 years ago

7.0.15

5 years ago

7.0.14

5 years ago

7.0.13

5 years ago

7.0.12

5 years ago

7.0.11

5 years ago

7.0.10

5 years ago

7.0.9

5 years ago

7.0.8

5 years ago

7.0.7

5 years ago

7.0.6

5 years ago

7.0.5

5 years ago

7.0.4

5 years ago

7.0.3

5 years ago

7.0.2

5 years ago

7.0.1

5 years ago

7.0.0

5 years ago

6.3.0

5 years ago

6.2.1

5 years ago

6.2.0

5 years ago

6.1.7

5 years ago

6.1.6

5 years ago

6.1.5

5 years ago

6.1.4

6 years ago

6.1.3

6 years ago

6.1.2

6 years ago

6.1.1

6 years ago

6.1.0

6 years ago

6.0.6

6 years ago

6.0.5

6 years ago

6.0.4

6 years ago

6.0.3

6 years ago

6.0.2

6 years ago

6.0.1

6 years ago

6.0.0

6 years ago

5.0.3

6 years ago

5.0.2

6 years ago

5.0.1

6 years ago

5.0.0

6 years ago