1.1.0 • Published 5 years ago

beautylink v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
5 years ago

beautylink

Transform your traditional link into beautiful button with much of options

Installation

npm i beautylink --save

import { beautylink } from 'beautylink';

beautylink({
  padding: '10px',
  width: '100%',
  backgroundType: 'linear',
  solidColor: 'yellow',
  degrees: 90,
  firstPortion: 0,
  secondPortion: 100,
  firstColor: '#fff',
  secondColor: '#000',
  fontColor: 'brown',
});

Options

beautylink supports 9 options :

Option NameDescriptionValue SetDefault Value
PaddingPadding valuepx, rem, %10px
WidthWidth valuepx, rem, %100%
backgroundTypeColor style for backgroundsolid, linear, radialsolid
solidColorColor code for solid backgroundcolor Hexcode or color name#000
degreesColor position degrees value for linearnumber90
firstPortionFirst color portion between 0 - 100% only for linear & radial typepercent0%
secondPortionSecond color portion between 0 - 100% only for linear & radial typepercent100%
firstColorColor code for left position only for linear & radial typecolor Hexcode or color name#fff
secondColorColor code for right position only for linear & radial typecolor Hexcode or color name#000
fontColorColor for fontscolor Hexcode or color name#000

Credits

beautylink - Created by Agung Setiawan

Next Features

beautylink is one of my long term project call is Html Rocks, I will more and more additional project to make easy for create beautiful html style with ease implementation.

1.1.0

5 years ago

1.0.0

5 years ago