This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo csml::tag('div#header'); | |
echo csml::entag('This is the header','h1#site-name.page-title'); | |
echo csml::tag('/div'); | |
/* | |
Output: | |
<div id="header"> | |
<h1 id="site-name" class="page-title">This is the header</h1> | |
</div> | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media:only screen and (max-device-width: 480px){ | |
body{ | |
font-size:14px; | |
line-height:21px; | |
padding:10px; | |
} | |
img{ | |
max-width:300px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Color class | |
* | |
* Plugin forn CSScaffold for color manipulation and stuff | |
* use like this: | |
* body{ | |
* background: color-multiply(!colora,#900); | |
* } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="container"> | |
<div id="header"> | |
<h1>Mi Blog</h1> | |
</div> | |
<div id="main_menu" class="navigation"> | |
<ul> | |
<!-- la navegación aqui --> | |
</ul> | |
</div> | |
<div id="main"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var post = { | |
title: "Shave : Ultra simple Javascript templates", | |
author: "Armando Sosa", | |
category: "self-importance", | |
permalink: "http://startupinmexico.com/?p=8" | |
} | |
var template = "<li><a href='{{permalink}}'>{{title}}</a> by {{author}} on {{category}}</li>"; | |
var html = shave(template, post); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Elastico SCSS | |
============== | |
Grid framework for CSS3 capabe browsers/devices like the iPad. | |
Author: Armando Sosa | |
---------------------------------------- */ | |
@mixin column-system($columns: 8, $width:100%, $gap : 20px){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="wrapper"> | |
<div class="bacon-slider"> | |
<div class="slide"> | |
<img src="imgs/sliders/slider1" /> | |
<div class="slide-description"> | |
<h2>Slide 1</h2> | |
description here… | |
</div> | |
</div> | |
<div class="slide"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// to be used with foundation's responsive variables. | |
// e.g. @include respond-to($medium-up){…} | |
@mixin respond-to($media) { | |
@media #{$media}{ @content; } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var React = require('react-native'); | |
var { | |
View, | |
WebView, | |
StyleSheet | |
} = React; | |
var style = StyleSheet.create({ |
OlderNewer