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
/* | |
* Linkare Aula 3 - Exercicio | |
* | |
* Nome: _______________________ | |
* (No final do exercicio enviar para [email protected]) | |
**/ | |
body { | |
font-family: helvetica, sans-serif; | |
} |
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
/* | |
* Linkare Aula 3 - Exercicio | |
* | |
* Nome: _______________________ | |
* (No final do exercicio enviar para [email protected]) | |
**/ | |
body { | |
font-family: helvetica, sans-serif; | |
} |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
body { | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; | |
font-family: helvetica; | |
} | |
li { |
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
/** | |
* Exercicio | |
* | |
*/ | |
body { | |
background: #f06; | |
background: linear-gradient(45deg, #eee, #fff); | |
min-height: 100%; | |
font-family: helvetica, sans-serif; | |
} |
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
/** | |
* Exercicio | |
* Nomes: | |
* ________________ | |
* ________________ | |
* ________________ | |
* (Enviar para [email protected]) | |
*/ | |
body { | |
background: #f06; |
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
if ("devicePixelRatio" in window && window.devicePixelRatio>1) { | |
// HD code | |
} else { | |
// SD code | |
} |
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
// Quick implementation of ResponsiveEnhance by Josh Emerson | |
// Original implementation: https://github.com/joshje/Responsive-Enhance | |
// <img src="sd.jpg" data-hd="hd.jpg"> | |
function quickUpgrade (obj) { | |
var tmp = new Image(); // prepare a loose image to make the request & cache it | |
var newsrc = obj.getAttribute('data-hd'); // grab the URL of hd version | |
if (newsrc) { // make sure it's there |