Skip to content

Knightsaket007/csslibrary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Knight Wings v1

Get start the CSS styling with Knight-wings library.

This CSS library provides easy to write styling quicker and easier to use with dynamic styles and functionality. We will try to improve and better performace with new stylings and components in our next update.

GET START

To install package

npm i knight-wings

Add this to your root HTML file.

inside head tag.

  <link rel="stylesheet" href="node_modules/knight-wings/styling.css">

inside body tag.

  <script src="node_modules/knight-wings/scripting.js" async defer></script>

or

  <script src="node_modules/knight-wings/scripting.js" ></script>

note that you have installed npm in yur system. It is install by nodejs https://nodejs.org/

Usage/Examples

import Component from 'my-project'

function App() {
  return <Component />
}

Color Reference

op-colors

Color Hex
orange rgb(241,134,84) op-color-orange
banana #00d1a0 op-color-banana
grapes rgb(205,31,228) op-color-grapes
strawberry #00d1a0 op-color-strawberry
berry #00d1a0 op-color-berry
danger #00d1a0 op-color-danger
success #00d1a0 op-color-success
alert #00d1a0 op-color-alert
warn #00d1a0 op-color-warn
alert #00d1a0 op-color-alert
dark #00d1a0 op-color-dark
grey #00d1a0 op-color-grey
prime #00d1a0 op-color-prime

Demo

size

class="sz-h-(height_in_px)"
class="sz-w-(width_in_px)"

class="sz-w-100"

color

class="color-(color_value)"

flexbox

class="flexbox-(position)-(gap_in_px)"

class="flexbox-cen-20"

more

Alignment of element

cen(center)

lt(left)

rt(right)

buttons

btn-filled-(opcolors)

btn-outline-(opcolors)

border radius

bd-radius-(in_px)

text color && text Alignment

txt-(Alignment i.e: cen)

margin

t-(top in px)

l-(top in px)

r-(top in px)

b-(top in px)

Proper documentation will come soon on official site.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published