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

196
Views
What is the name for this element?

When you click on "+" below of the element open new texts and the other elements are push down. It's a simple question I know but still valid: how this element is called? I really can't find any name for this

enter image description here

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

0

They're most likely using JavaScript, but this is achieved using raw HTML with details & summary elements. Here is a short implementation:

/* removes the default marker */
details summary::-webkit-details-marker,
details summary::marker {
 display: none; 
 content: "";
}

details {
  display: block;
  border: 3px solid black;
  margin-bottom: 2rem;
}

summary {
  padding: 1rem;
  cursor: pointer;
}

details[open] summary {

  border-bottom: 3px solid black;
}
<details>
  <summary>Some text blablabla +</summary>
  
  <ol>
    <li>asdf 1</li>
    <li>asdf 2</li>
    <li>asdf 3</li>
  </ol>
</details>

<details>
  <summary>Some text blablabla +</summary>
  
  <ol>
    <li>asdf 1</li>
    <li>asdf 2</li>
    <li>asdf 3</li>
  </ol>
</details>

<details>
  <summary>Some text blablabla +</summary>
  
  <ol>
    <li>asdf 1</li>
    <li>asdf 2</li>
    <li>asdf 3</li>
  </ol>
</details>

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!