2.0.0 • Published 1 year ago

applecss v2.0.0

Weekly downloads
-
License
GPL-2.0-only
Repository
github
Last release
1 year ago

Apple CSS

Modern Styling Based on Apple.

Usage:

Installation Command:

$ git clone https://github.com/ScratchCoder135/Apple-CSS.git

package.json

npm install applecss

Programming:

Node js

var a=require('applecss')
a.applyStylesheet('myfile.ejs')

Regular Web3

index.html

<!--using this command will automatically add css file (/apple.css)-->
<script src="/appleCSS.min.js"></script>

For noscript installation

index.html

<head>
  <noscript>
    <link rel="stylesheet" href="/apple.css">
  </noscript>
</head>

Online service(May stop on 28th Nov 2021)

apple.ejs

<%if(apple==="allowed"){%>
<script src="https://serverfrmme.herokuapp.com/appleCSS.min.js"></script>
<%}%>

Code references

index.js

const div=document.createElement("div")
div.className="nav"
body.appendChild(div)

Tutorial

Online Tutorial(Not finished)

Project References:

Ref1 Ref2 Ref3