What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 27811 |  Welcome, Guest!   Register  Login
 Home > Code Snippets > CSS > Css for Grouping Selectors ...
Ranjeet_8

Css for Grouping Selectors

 Code Snippet posted by: Ranjeet_8 | Posted on: 10/31/2012 | Category: CSS Codes | Views: 270 | Status: [Member] | Points: 40 | Alert Moderator   


#How to use grouping selectors?
CSS

<style type="text/css">
p
{
color: White;
}
.DVcontent, h1, h2
{
background-color: Black;
}
</style>

Design page

<h1>
<p>
To learn more about ASP.NET visit www.dotnetfunda.com
</p>
</h1>
<h2>
<p>
To learn more about ASP.NET visit www.dotnetfunda.com
</p>
</h2>
<div class="DVcontent">
<p>
To learn more about ASP.NET visit www.dotnetfunda.com
</p>
</div>

Found interesting? Add this to:


>> Write Response - Respond to this post and get points

More codes snippets

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/24/2013 3:47:38 AM