Wednesday, January 15, 2014

background-position-x and background-position-y aren't cross-browser compatible




Wrong: 
.myStyle{
background-image: url(images/someImage.png);
background-repeat:no-repeat;
background-position-x: 20px;
background-position-y: 30px;
}


Right:
.myStyle{
background-image: url(images/properties_underline.png);
background-repeat:no-repeat;
background-position:20px 30px;
}

Check max profit by buying & selling day

See the Pen Check max profit by buying & selling day by Ariel Barkan ( @ArielBarkan ) on CodePen .