Coder Social home page Coder Social logo

microdreamit / shapecss-framework Goto Github PK

View Code? Open in Web Editor NEW
14.0 4.0 4.0 26.56 MB

A modern stylish css framework

Home Page: http://shapecss.microdreamit.com

License: MIT License

JavaScript 3.98% CSS 95.99% HTML 0.03%
css-framework responsive-grid flexbox-css responsive-css responsive-framework shape-circle shape-triangle shape-square shape-parallelogram

shapecss-framework's Introduction

Shapecss

Shapecss, modern stylish css framework
Visit Shapecss »

Table of contents

Quick start

Download the latest release:

Clone the repo: git clone https://github.com/MicroDreamIT/shapecss-framework.git

Install with a package manager:

NPM npm install shapecss

Bower bower install shapecss

Composer composer require microdreamit/shapecss

  • Entry javascript, resources/assets/js/shape.js
  • Entry scss, resources/assets/sass/main.scss

CDN

Use javascript file bottom of the body tag.

<!-- Latest compiled and minified CSS & JS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/public/css/shape.min.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/public/js/shape.min.js" async></script>

<!-- Latest compiled and unminified CSS & JS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/public/css/shape.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/public/js/shape.js" async></script>

Status

npm version Join the chat at https://gitter.im/shapecss/shapecss Look at packagist at https://packagist.org/packages/microdreamit/shapecss

What's included

You find minified and compiled files in public directory.

shapecss-framework/
    public/
      ├── css/
      │   ├── shape.css
      │   ├── shape.min.css
      └── js/
          ├── shape.js
          └── shape.min.js

If you download total repository, then import

shapecss-framework/
    resources/
    assets/
      ├── sass/
      │   ├── main.scss
      └── js/
          └── shape.js

Documentation

Shapecss's documentation, included in this repo in the root directory, is built with Laravel. The docs may also be run locally. https://shapecss.microdreamit.com

Community

Get updates on Shapecss's development and chat with the project maintainers and community members.

Creators

Shahanur Sharif

Emu

Copyright and license

Code copyright 2017 Shahanur Sharif. Code released under the MIT license.

shapecss-framework's People

Contributors

cristijora avatar microdreamit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

shapecss-framework's Issues

Error on npm run production on shapecss, #Laravel-mix

I am have error on npm run production, and its killing me :(

/js/shapecss.js from UglifyJs Unexpected token: name (Accordion) [./~/shapecss/resources/assets/js/component/Accordion.js:1,0][/js/shapecss.js:19054,6]

I am using shapecss developed in laravel mix.

here is code is look like on main js entry file shape.js,
directory is, https://github.com/MicroDreamIT/shapecss-framework/blob/master/resources/assets/js/shape.js
'use strict';

import {Accordion} from "./component/Accordion";
import {Modal} from "./component/Modal";
import {getTab} from "./component/Tab";
import {Nav} from "./component/Nav";
import {Circle} from "./component/shapes/Circle";
import {Parallelogram} from "./component/shapes/Parallelogram";
import {Rectangle} from "./component/shapes/Rectangle";
import {Square} from "./component/shapes/Square";

window.onload = function () {
new Accordion();
new Modal();
getTab();
new Nav();
new Circle();
new Parallelogram();
new Rectangle();
new Square();
}
Accordion class is look like,

export class Accordion{
constructor(){
this.accordionDivs = document.getElementsByClassName('accordion');
if(this.accordionDivs)
this.processAccordions();
}
processAccordions() {
...
}

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.