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.
To install package
npm i knight-wings
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/
import Component from 'my-project'
function App() {
return <Component />
}
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"
cen(center)
lt(left)
rt(right)
btn-filled-(opcolors)
btn-outline-(opcolors)
bd-radius-(in_px)
txt-(Alignment i.e: cen)
t-(top in px)
l-(top in px)
r-(top in px)
b-(top in px)