GithubHelp home page GithubHelp logo

leothelioninthesun / zurb-foundation-textmate-bundle Goto Github PK

View Code? Open in Web Editor NEW

This project forked from liamr/zurb-foundation-textmate-bundle

0.0 2.0 0.0 134 KB

A Textmate/Sublime Text 2 bundle for Zurb's Foundation framework.

zurb-foundation-textmate-bundle's Introduction

Textmate bundle for Zurb Foundation 4

A set of snippets for Zurb's awesome responsive HTML framework. Going to add more, but there are a few snippets at the moment to make your day a little better.

Installing

cd ~/Library/Application\ Support/TextMate/Bundles/
git clone git://github.com/liamr/Zurb-Foundation-Textmate-Bundle.git Zurb\ Foundation.tmbundle

Changelog

###1.1 All snippets now have 'zf' prepended to avoid conflict with other installed Bundles. Updated documentation to reflect.

###1.2 Updated to work with Foundation 4 - thanks to Kramsee

##Layout & Grid

zfpage Creates a new Foundation HTML page

zfc Creates a Container

<div class="container" id="name">
	(cursor)	
</div>

zfr Creates a Row

<div class="row" id="name">
	(cursor)	
</div>

zfcr Creates a Container & Row

<div class="container" id="name">
    <div class="row" id="name">
	    (cursor)	
	</div>
</div>

zfc1 - zfc12 Creates columns based on the number ie:

zfc6 creates

<div class="six columns" id="name">
    (cursor)
</div>

zfcc Creates a basic column layout and lets you specify the number you want ie:

<div class="[one - twelve] column[s]" id="name">
    (cursor)
</div>

zf2col,zf3col, zf4col create a 2, 3 or 4 column layout surrounded by a row and container:

<div class="container" id="#">
    <div class="row" id="#">
        
        <div class="six columns" id="#">
            
        </div> <!-- End # -->


        <div class="six columns" id="#">
            
        </div> <!-- End # -->
    </div>
</div>

##Buttons

zfbtn Creates a basic button and lets you specify the options

<a href="#" class="[small, medium, large] [white, blue, red, black] button">(Cursor)</a>

zfnbtn Creates a nice button and lets you specify the options

<a href="#" class="nice radius [small, medium, large] [white, blue, red, black] button">(Cursor)</a>

##Block Grids

zfblock2, zfblock3, zfblock4, zfblock5 create
    block grids that are 2, 3, 4 or 5 up:

<ul class="block-grid five-up">
    <li></li>
</ul>

##More coming soon I want to add more as soon as possible, and also work this into a Sublime Text 2 bundle! If you have suggestions let me know!

##Credit Cheers to Fred Oliveira - https://github.com/fredoliveira/textmate-960gs/blob/master/README.markdown - based mine off his 960.gs

zurb-foundation-textmate-bundle's People

Contributors

brankindesign avatar emlama avatar liamr avatar vurral avatar

Watchers

 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.