This file contains hidden or 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
set syntax on github ==> ```html |
This file contains hidden or 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
<body> | |
<div class="container"> | |
<section class="form"> | |
<h2>user login</h2> | |
<form action="" method="post"> | |
<input class="user" type="text" name="name" placeholder="username" /> | |
<input class="pass" type="password" name="password" placeholder="password" /> | |
<input class="btn" type="submit" name="submit" value="Sign in" /> | |
</form> | |
</section> |
This file contains hidden or 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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; | |
text-align : center; | |
text-transform : capitalize; |
This file contains hidden or 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
pv zk bschk pv zk pv bschk zk pv zk bschk pv zk pv bschk zk bschk pv bschk bschk pv kkkkkkkkkk bschk |
This file contains hidden or 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
<nav> | |
<menu> | |
<li> | |
<a href="#" class="icon-reorder"></a> | |
<menu> | |
<li><a href="#" class="icon-cog"></a></li> | |
<li><a href="#"class="icon-phone"></a></li> | |
<li><a href="#" class="icon-bolt"></a></li> | |
</menu> | |
</li> |
This file contains hidden or 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
function interval(func, wait, times){ | |
var interv = function(w, t){ | |
return function(){ | |
if(typeof t === "undefined" || t-- > 0){ | |
setTimeout(interv, w); | |
try{ | |
func.call(null); | |
} | |
catch(e){ | |
t = 0; |
This file contains hidden or 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
- Keep the things that change together as close as possible and try to decouple them as much as possible from other functionalities. | |
- Do not let your objects know too much about the insides of other objects. |
This file contains hidden or 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
<article vocab="http://schema.org/" typeof="Product"> | |
<figure><img src="images/pro2.jpg" alt="" title="" width="139" height="179" itemprop="image"></figure> | |
<h2 class="title" property="name"></h2> | |
<p class="desc" property="description"></p> | |
<div class="cost" property="offers"> | |
<span typeof="Offer"> | |
<span class="number" property="price"></span> | |
<span class="unit" property="currency" content="IRT"></span> | |
</span> | |
</div> |
This file contains hidden or 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
<!-- Microdata markup added by Google Structured Data Markup Helper. --> | |
<html><head></head><body> | |
<div itemscope="" itemtype="http://schema.org/Article"> | |
<div itemprop="headline"> | |
Allies Are Split on Goal and | |
Exit Strategy in Libya | |
</div> | |
<div itemprop="description"> | |
NATO Takes Command | |
</div> |
This file contains hidden or 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
/* The best way */ | |
%button { | |
min-width: 100px; | |
padding: 1em; | |
border-radius: 1em; | |
} | |
%twitter-background { | |
color: #fff; | |
background: #55acee; | |
} |
OlderNewer