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
/* | |
Use this code to create a background with a nine patch image. | |
here, 22px is the size of a corner. the full image should have 4 corners of the same width & height. | |
And be bigger than 44x44 in this case. | |
Non symetrical images is also possible but far more complicated. | |
*/ | |
.ninepatch{ | |
border-width: 22px; | |
border-image: url(img/content_background.png) 22 22 22 22 repeat; | |
-webkit-border-image: url(img/content_background.png) 22 22 22 22 repeat; |