Skip to content

Instantly share code, notes, and snippets.

View jotta008's full-sized avatar
🏠
Working from home

Jose Cirer jotta008

🏠
Working from home
View GitHub Profile
@gokulkrishh
gokulkrishh / media-query.css
Last active July 16, 2024 10:52
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
/* CSS */
@BenjaminGuV
BenjaminGuV / animate jquery background-imagen
Created March 22, 2012 12:17
cambiar la imagen de background con jquery
(function(){
var i = 2;
var cambiar = setInterval( function(){
//$('#cambiante').css( 'background-image', 'url("2.jpg")' );
$('#cambiante').animate({
opacity: 0
}, 'slow', function(){
$(this).css( {'background-image': 'url("' + i + '.jpg")'} )
.animate({opacity: 1});
i++;