Loosely ordered with the commands used most towards the top. Sublime also offer full documentation.
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
Ctrl+⇧+↩ | insert line before |
Ctrl+⇧+↑ | move line (or selection) up |
<!DOCTYPE html> | |
<html lang="es"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Document</title> | |
<meta name="description" content=""> | |
<link rel="shortcut icon" href="/favicon.ico"> |
/*::::::::::: FUENTES :::::::::::*/ | |
/*::::::::::: ETIQUETAS :::::::::::*/ | |
/*::::::::::: ID'S :::::::::::*/ |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | |
<script>window.jQuery || document.write('<script src="js/jquery-1.9.1.min.js"><\/script>')</script> | |
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/jquery-ui.min.js"></script> | |
<script>window.jQuery.ui || document.write('<script src="js/jquery-ui-1.8.21.min.js"><\/script>')</script> | |
<script src="//ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script> | |
<script>window.swfobject || document.write('<script src="js/swfobject-2.2"><\/script>')</script> | |
/* Smartphones (portrait & landscape) */ | |
@media only screen | |
and (min-device-width : 320px) | |
and (max-device-width : 480px) { | |
} | |
/* Smartphones (landscape) */ | |
@media only screen | |
and (min-width : 321px) { |
Loosely ordered with the commands used most towards the top. Sublime also offer full documentation.
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
Ctrl+⇧+↩ | insert line before |
Ctrl+⇧+↑ | move line (or selection) up |
var ancho; | |
if (document.body) | |
ancho = (document.body.clientWidth); | |
else | |
ancho = (window.innerWidth); | |
if (ancho<=768) | |
{ | |
//Código de ejemplo... |
<div class="modalImagen" style="position:fixed; width:100%; height:100%; background:rgba(0,0,0,0.8); z-index: 100;"> | |
<div class="cont-modal"> | |
<a href="promociones.aspx#promo10mayo"><img src="../imagenes/jpg/modal/desayuno-modal.jpg" alt=""></a> | |
<a href="promociones.aspx#promo10mayo"><img src="../imagenes/jpg/modal/comida-modal.jpg" alt=""></a> | |
<div class="cerrarModal" onclick="$('.modalImagen').hide();" style="width: 16px; | |
height: 16px; | |
border-radius: 30px; | |
top: 0; | |
padding-left: 8px; |
//DETECTAR ANCHO | |
var ancho; | |
if (document.body) | |
ancho = (document.body.clientWidth); | |
else | |
ancho = (window.innerWidth); | |
if (ancho<=770) | |
{ |
vendor(prop, args) | |
-webkit-{prop} args | |
-moz-{prop} args | |
-ms-{prop} args | |
-o-{prop} args | |
{prop} args | |
border-radius() | |
vendor('border-radius', arguments) |