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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Mi propio menú adaptativo · CodePen</title> | |
<style> |
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
<a href="http://www.rvl.io" class="roll"><span data-title="rvl.io">rvl.io</span></a> | |
<!-- | |
* ROLLING LINKS | |
* as seen in http://lab.hakim.se/reveal-js/#/21 | |
--> |
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="sol" class="esfera"></div> | |
<div id="container"> | |
<div id="tierra" class="esfera"></div> | |
</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
<div id="sol" class="esfera"></div> | |
<div id="container"> | |
<div id="tierra" class="esfera"></div> | |
</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
<h1 class="logo-almagro">Almagro<sub>®</sub></h1> |
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
<link href='http://fonts.googleapis.com/css?family=Asap:400,700' rel='stylesheet' type='text/css'> | |
<div id="wrapper"> | |
<div id="banner"> | |
<div class="slide" id="slide2"> | |
<h4>FOR</h4> | |
</div> | |
<div class="slide" id="slide1"> | |
<h1>CREATE</h1> | |
<div id="stunningWrap"><h2 id="stunning">STUNNING</h2></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
// detecting support for CSS transitions | |
function supportsTransitions() { | |
var b = document.body || document.documentElement; | |
var s = b.style; | |
var p = 'transition'; | |
if(typeof s[p] == 'string') {return true; } | |
v = ['Moz', 'Webkit', 'Khtml', 'O', 'ms'], | |
p = p.charAt(0).toUpperCase() + p.substr(1); | |
for(var i=0; i<v.length; i++) { |
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
function currentBrowser() { | |
$.returnVal = ""; | |
var browserUserAgent = navigator.userAgent; | |
if (browserUserAgent.indexOf("Firefox") > -1) { | |
$.returnVal = { browser: "Firefox" }; | |
} | |
else if (browserUserAgent.indexOf("Chrome") > -1) { | |
$.returnVal = { browser: "Chrome" }; | |
} | |
else if (browserUserAgent.indexOf("Safari") > -1) { |
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
<ul class="nav"> | |
<li><a href="#">One</a></li> | |
<li class="dropdown"> | |
<a href="#">Dois</a> | |
<ul> | |
<li><a href="#">Dois Um</a></li> | |
<li><a href="#">Dois Dois</a></li> | |
<li class="dropdown"> | |
<a href="#">Dois Tres</a> | |
<ul> |
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
/*-- TABS --*/ | |
var tabMenu = '.nav'; | |
var tabContent = '.destacadas'; | |
var tabSelectedClass= 'selected'; | |
var tabDefault = 1; // first tab | |
// add classes and hiding tabs | |
$(tabMenu+' a:eq('+(tabDefault-1)+')').addClass(tabSelectedClass); | |
$(tabContent).hide(); | |
$(tabContent+':eq('+(tabDefault-1)+')').show(); |