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
.border{ | |
-webkit-border-radius: 10px; | |
-moz-border-radius: 10px; | |
border-radius: 10px; | |
border:solid 5px #EFB20F; | |
} | |
.border.wrong{ | |
border: solid 5px #E11C24 !important; | |
} |
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
#interactive label#text { | |
width: 210px; | |
display: table-cell; | |
text-align: center; | |
vertical-align: middle; | |
cursor: pointer; | |
} | |
.contenedor{ | |
display: table; |
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
img.centered { | |
position: absolute; | |
margin: auto; | |
top: 0px; | |
left: 0px; | |
bottom: 0; | |
right: 0; | |
} |
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
img.autosize | |
{ | |
width: 100%; | |
} |
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
.border.transparent{ | |
border: solid 5px transparent; | |
-webkit-border-radius: 10px; | |
-moz-border-radius: 10px; | |
border-radius: 10px; | |
} | |
.border{ | |
-webkit-border-radius: 10px; | |
-moz-border-radius: 10px; |
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
var re = new RegExp("e","g"); | |
var str = ("cadena donde reemplazar").replace(re,"o"); | |
//cadona dondo roomplazar | |
// Alternativamente | |
var cadena = "cadena con texto" | |
var new_string = "texto" | |
var str = cadena.substring(0,cadena.lastIndexOf(new_string))+"<span class='green'>"+new_string+"</span>"; |
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
En el index.html (agregar uno por cada botòn, y personalizar id) | |
<div class="selectable option" id="option0"> | |
<label class="text">EJEMPLO</label> | |
</div> | |
En style_custom.css (personalizar background-image, width y height acorde a la imagen a usar, y las posiciones left y top de cada opción) | |
.option | |
{ |
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
#canvas { | |
position: absolute; | |
z-index: 500; | |
left: 183px; | |
top: 329px; | |
-moz-transform: scale(-1, 1); | |
-webkit-transform: scale(-1, 1); | |
-o-transform: scale(-1, 1); | |
transform: scale(-1, 1); | |
filter: FlipH; |
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
$el.removeClass(function(index,classes){ | |
var matches = classes.match(/drop-\d+/); // some-class-somenumber | |
return (matches) ? matches.join(' ') : ''; | |
}); |
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
<audio id="s0"> | |
<source src="audio/s0.mp3" type="audio/mpeg"> | |
Your browser does not support the audio element. | |
</audio> | |
<audio id="s1"> | |
<source src="audio/s1.mp3" type="audio/mpeg"> | |
Your browser does not support the audio element. | |
</audio> |
OlderNewer