Code Monkey home page Code Monkey logo

neumorphiccss's Introduction

NeumorphicCSS

An all-in-one neumorphism css stylesheet.
Is pretty simple to use!

First, to get started you have to include the stylesheet to your HTML file.
You can do this by copying the contents of neumorphic.css to your website, or by adding this script which automatically adds it to your website.

<script>
fetch("https://raw.githubusercontent.com/ZXMushroom63/NeumorphicCSS/main/neumorphic.css").then((x)=>{x.blob().then((y)=>{y.text().then((z)=>{var s=document.createElement("style");s.innerHTML=z;document.head.appendChild(s);});});});
</script>


Now that the stylesheet is included, you have to make a container for the elements.
<div class="neu container">...</div>

Optionally, if your whole website will be using this, set the class of your <html> tag to "neu"

Then, mix and match with a variety of elements! Put them in the container.
Feature HTML
A panel <div class="neu panel">
An inset panel <div class="neu insetPanel">
A button <button class="neu">...</button>
Most input elements <input type="..." class="neu">
Switches <input type="checkbox" class="neu switch">
Textareas <textarea class="neu">...</textarea>
Concave elements <* class="neu concave">...</*>
Convex elements <* class="neu convex">...</*>
Tables <table class="neu">...</table>
Corners <* class="neu squareCorners">...</*>
OR
<* class="neu roundCorners">...</*>
Inset & Outset Forcing <* class="neu outset">...</*>
OR
<* class="neu inset">...</*>
Selects <select class="neu">...</select>
Small or Circular Buttons <button class="neu smallButton">...</button>
OR
<button class="neu smallButton circle">...</button>
Corner Roundness <* class="neu smallButton">...</*>
OR
<* class="neu smallButton circle">...</*>

neumorphiccss's People

Contributors

zxmushroom63 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.