CSS 투명 배경색

by JM note

HTML

<style>
.box1 { background: orange }
.inner1 { background: transparent }
</style>

<div class='box1'>
<input type='text' value='흰배경' />
<input type='text' class='inner1' value='투명배경' />
</div>