applecss
v2.0.0
Published
A stylesheet based on apple.com
Downloads
3
Readme
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