---
title: "How to access this children div"  
description: "How to access this children div"  
author: "Anonymous User"  
published: 2013-06-15  
updated: 2013-06-15  
canonical: https://www.mindstick.com/forum/1148/how-to-access-this-children-div  
category: "css-css3"  
tags: ["css-css3"]  
reading_time: 1 minute  

---

# How to access this children div

Hi [Expert](https://www.mindstick.com/articles/13120/an-expert-financial-advice-will-improve-your-finances),\
I want to know how to use [access](https://www.mindstick.com/articles/12994/how-foreigners-can-access-blocked-websites-in-china) this inside contents.\

```
<div class="content">    <div class="more">more</div></div><div class="content">    <div class="more">more</div></div><div class="content">    <div class="more">more</div></div>
```

**\****[CSS](https://www.mindstick.com/forum/514/background-gradient-ie7-css-problem):**\

```
.content .more{    background:#009474;    display:block;    width:70px;    height:25px;}.content:hover{    transition-property: background;    transition-duration: 2s, 1s, 0.5s, 0.5s;    background:#009474;}
```

**\****Jquery:**\

```
$(".content").hover(function(){    $(".content .more").css("background-color", "#D0D0D0");  },function(){  $(".content .more").css("background-color","#009474");});
```

**\**My aim is on hover that [content](https://www.mindstick.com/articles/13019/get-the-best-content-marketing-pricing-packages-for-your-brand) should change to #009474 [color](https://www.mindstick.com/articles/77/how-to-split-form-background-color-in-c-sharp), and inside [class](https://www.mindstick.com/blog/165/generic-class-in-c-sharp) "more" color to some other. With this [code](https://yourviews.mindstick.com/view/85458/alan-turing-the-mastermind-behind-cracking-the-enigma-code-during-world-war-ii) on hover all other class "more" are changing. So what can i do to have only inside class to change color on hover.Is $(this '.more') [right](https://www.mindstick.com/articles/12766/check-whether-you-are-doing-digital-transformation-right-or-not) to use but I [am getting](https://www.mindstick.com/forum/34179/i-am-getting-error-while-assigning-the-data-to-the-array-list) no change with this.\
Any help on above is really appreciated.

## Replies

### Reply by AVADHESH PATEL

Hi Ashish,\
you could try as following **\****$(".content").hover(function(){** **$(this).find(".more").css("background-color", "#D0D0D0");** **}****);**\


---

Original Source: https://www.mindstick.com/forum/1148/how-to-access-this-children-div

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
