Monday, August 26, 2013
Wednesday, August 21, 2013
Target only Safari and Chrome with CSS
CSS
@media screen and (-webkit-min-device-pixel-ratio:0) {#title {
color: red !important;
}
}
Friday, August 16, 2013
set margin for span tag
CSS
display:inline-blockspan is an inline element, not a block element, and they don't respect margin. You can use padding or make the span display:inline-block; and then use margins.
Subscribe to:
Posts (Atom)
Javascript find highest and lowest from the given inputs
function highAndLow(numbers){ // numbers = "4 5 29 54 4 0 -214 542 -64 1 -3 6 -6" let numbersInArr = numbers.split(' ...
-
function highAndLow(numbers){ // numbers = "4 5 29 54 4 0 -214 542 -64 1 -3 6 -6" let numbersInArr = numbers.split(' ...
-
HTML Jquery $("#num").keypress(function (e){ var charCode = (e.which) ? e.which : e.keyCode; if (charCode > 31 ...
-
//Change the port connect: { options: { port: 8080 , // change this to '0.0.0.0' to a...