---
title: "How use transparent background in javascript?"  
description: "How use transparent background in javascript?"  
author: "Jack C"  
published: 2010-11-09  
updated: 2010-11-10  
canonical: https://www.mindstick.com/forum/83/how-use-transparent-background-in-javascript  
category: "javascript"  
tags: ["javascript"]  
reading_time: 1 minute  

---

# How use transparent background in javascript?

how it is possible by [javascript](https://www.mindstick.com/articles/874/how-to-create-watermark-text-for-textbox-by-using-javascript) please give the accurate solution with example\

## Replies

### Reply by Amit Singh

using css which is applied by javascript\
we use opacity level\
\
**For Example:**\
in css\

```
background-color:red;opacity:.9;
```


---

Original Source: https://www.mindstick.com/forum/83/how-use-transparent-background-in-javascript

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
