Background image border-radius demo

by audetwebdesign

HTML

<textarea class="ex1" name="theText" >Example 1</textarea>
<br><br>
<textarea class="ex2" name="theText" >Example 2</textarea>

CSS

textarea.ex1 {
    border-width: 0;
    border-radius: 10px;
    background-color: beige;
    padding: 5px;
    width: 200px;
    height: 200px;
}
textarea.ex2 {
    border-width: 0;
    border-radius: 10px;
    background: lightgray url(http://placekitten.com/150/150) center center no-repeat;
    padding: 5px;
    width: 200px;
    height: 200px;
}