Giter Site home page Giter Site logo

dklounge / iocss Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lazd/iocss

0.0 3.0 0.0 474 KB

Simple, resolution independent, image-free CSS for mobile web applications

Home Page: http://lazd.github.io/iOCSS

License: BSD 2-Clause "Simplified" License

iocss's Introduction

iOCSS

iOS style for your mobile web app

Look native

Give your app a look and feel that closely resembles the popular mobile platform, Apple's iOS.

Scale beautifully

Built using elastic measurement units, iOCSS scales simply by increasing the font-size of the <html> element.

Look ma, no images!

iOCSS is built without images, so no matter how high-resolution the next tablet or phone is, your web app will look crisp and clean.

Combine with the awesomeness of FontAwesome, and you'll have infinite scalability.

Animate with style

iOCSS doesn't provide JavaScript, but it does provide CSS3 animations where necessary.

Simply Stylus

Written with Stylus to be easily customizable, but compiled to minified CSS to be easily deployable.

Use iOCSS in your project

  1. Download io.css and copy it to your project's css/ folder

  2. Include the following tags in the <head> of your layout:

<link rel="stylesheet" type="text/css" href="css/io.css">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
  1. Make sure your layout includes <body class="iOCSS"> (or add class="iOCSS the element you want to contain your app)

  2. Use some iOCSS classes:

    <div class="frame">
        <div class="header">
            <div>
                <a href="#" class="button">Button</a>
            </div>
            
            <h1>Say Hello to iOCSS</h1>
            
            <div>
                <a href="#" class="button next">Let's go</a>
            </div>
        </div>
        
        <div class="scrollable">
            
            <div id="panel-about">
                
                <div class="well">
                    <h1>Welcome to iOCSS</h1>
                    <p>Have fun!</p>
                </div>
            
            </div>
        </div>
    </div>

Building iOCSS

  1. Clone the repository
git clone https://github.com/lazd/iOCSS.git
  1. Install dependencies
cd iOCSS/
npm install
  1. Build iOCSS with grunt
grunt
  1. io.css will be built at build/css/io.css

Contributing

Pull requests are welcome!

  • Please take care to test your changes in Chrome, Safari, iOS, and Android browsers.
  • "Namespace" any CSS classes you add such that they only affect elements that are descendants of an element with the iOCSS class
  • Make sure your contribution doesn't break anything ;)

License

iOCSS is licensed under the permissive BSD license.

iocss's People

Contributors

lazd avatar

Watchers

 avatar  avatar  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.