Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ryanve/sharp.css

CSS sharp corners
https://github.com/ryanve/sharp.css

border border-radius css fcss functional-css opensource rounded-corners

Last synced: about 1 month ago
JSON representation

CSS sharp corners

Awesome Lists containing this project

README

        

# sharp.css

CSS [border-radius](https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius) border classes

```
npm install sharp.css
```

```css
@import "node_modules/sharp.css/sharp";
```

* Load [sharp.css](sharp.css) after your rounded corner implementation. [See demo.](https://ryanve.github.io/sharp.css/)
* Keep [contour bias](https://graphicdesign.stackexchange.com/a/84943/100255) in mind when designing corners.

## [classes](sharp.css)

### `.sharp-all`

Sharpen all corners.

### `.sharp-top`

Sharpen top corners.

### `.sharp-bottom`

Sharpen bottom corners.

### `.sharp-left`

Sharpen left corners.

### `.sharp-right`

Sharpen right corners.

### `.sharp-stack`

Sharpen vertical interior corners.

### `.sharp-shelf`

Sharpen horizontal interior corners.

## [demos](https://ryanve.dev)

* [sharp](https://ryanve.dev/sharp.css)
* [spacing](https://ryanve.dev/spacing)