Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

112
Views
How i can do this in scss

How can I write this code in Sass? I'm trying to target one same tag in different classes

.vimcash__navbar-links_container p, 
.vimcash__navbar-sign p,
.vimcash__navbar-menu_container p {
    color: #fff;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 25px;
    text-transform: capitalize;

    margin: 0 1rem;
    cursor: pointer;
}

I been trying to something like this:

.enterprise__navbar-links_container{
& .enterprise__navbar-menu-container {
        p {
        color: #333333;
        font-family: var(--font-family);
        font-weight: 500;
        font-size: 20px;
        line-height: 23px;
        text-transform: capitalize;

        margin: 0 1rem;
        cursor: pointer;
    }
  }
}

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You can write it using the parent selector and nesting like this:

.vimcash__navbar {
    &-links_container, &-menu_container, &-sign {
        p {
            color: #fff;
            font-family: var(--font-family);
            font-weight: 500;
            font-size: 18px;
            line-height: 25px;
            text-transform: capitalize;
            margin: 0 1rem;
            cursor: pointer;
        }
    }
}
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!