---
title: "How can we apply css in div using jquery."  
description: "How can we apply css in div using jquery."  
author: "AVADHESH PATEL"  
published: 2012-09-08  
updated: 2020-09-17  
canonical: https://www.mindstick.com/interview/1529/how-can-we-apply-css-in-div-using-jquery  
category: "jquery"  
tags: ["jquery"]  
reading_time: 1 minute  

---

# How can we apply css in div using jquery.

using css() method we can apply css in div element.\
example:\
$(“div”).css(“border”,”1px solid green”);

## Answers

### Answer by AVADHESH PATEL

using css() method we can apply css in div element.\
example:\
$(“div”).css(“border”,”1px solid green”);


---

Original Source: https://www.mindstick.com/interview/1529/how-can-we-apply-css-in-div-using-jquery

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
