Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7751889
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T11:39:49+00:00 2026-06-01T11:39:49+00:00

Would you please explain me the difference between these two CSS classes syntax: .element

  • 0

Would you please explain me the difference between these two CSS classes syntax:

.element .symbol {}

and

.element.large .symbol {}

I don’t understand the difference between the two. The first line indicates two different classes to which are applied the same styles. But about the second, what’s the meaning of ‘.large’ which is written attached to ‘.element’?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T11:39:51+00:00Added an answer on June 1, 2026 at 11:39 am

    I think you got a slight misunderstanding what the first one means.

    .element .symbol {}
    

    Means that those CSS settings are applied to any HTML element with the class .symbol that is inside an element with the class .element.

    <div class="element">
        <div class="symbol" />
    </div>
    

    In this example your first CSS entry would affect the <div> tag in the middle.

    Your second example means that the first class requires two classes to be affected. Other than that it’s equal to the first one.

    <div class="element large">
        <div class="symbol" />
    </div>
    

    So if the HTML looks like this, the CSS values will be applied to the inner <div> tag as well.

    If you want to set CSS tags that apply for multiple classes separately then you need to split them up using a comma. So it looks like this:

    .element, .symbol {}
    

    Edit: By request the link to the documentation of the CSS selectors.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to know the difference between Session.clear(); Session.Abandon(); Session.RemoveAll(); Please explain the
would you please explain me the difference between <xsl:apply-template> and <xsl:call-template> and when should
can somebody please explain difference between those two declarations in the properties of the
Please explain from Linux, Windows perspectives? I am programming in C#, would these two
Could you please explain the difference between Transfer objects and Domain objects in simple
What's the difference between these two packages? and Now before everyone jumps in and
Would you please explain why the following shell command wouldn't work: sh-3.1$ echo $MYPATH
Could someone please explain when would I want to use delegation instead of inheritance?
Can someone please explain me why would a UDP Server not need to use
I would like to access a MySQL database using PHP. Can someone please explain

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.