I want to apply my custom CSS on HTML page i tried this way but it is not working.
wv.loadUrl("<style>.featured {"+
" background-image: -ms-linear-gradient(bottom, #F9F6F9 0%, #ECE4F4 100%);"+
" background-image: -moz-linear-gradient(bottom, #F9F6F9 0%, #ECE4F4 100%);"+
" background-image: -o-linear-gradient(bottom, #F9F6F9 0%, #ECE4F4 100%);"+
"background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #F9F6F9), color-stop(1, #ECE4F4));"+
" background-image: -webkit-linear-gradient(bottom, #F9F6F9 0%, #ECE4F4 100%);"+
" background-image: linear-gradient(to top, #F9F6F9 0%, #ECE4F4 100%);"+
"}");
please help me out.
Thank you for your answers guys but i got my solution.
This my solution.
using this you can apply your custom CSS on any Tag or Elements of the HTML in Android.