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

152
Views
Estoy tratando de mostrar el ícono de detalle en el extremo derecho usando webkit-details-marker pero no obtengo el resultado deseado

 ::-webkit-details-marker { float: right; }
 <div class="ques-block"> <details> <summary class="question">How important is accordian?</summary> <p class="answer"> Accordian is type of question and answer forum in which qestion is in the question block and answer is in the answer block. </p> </div>

En la sección CSS, ::-webkit-details-marker{} no funciona, e incluso si funciona, la salida no es visible; ¿Qué estoy haciendo mal?

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Puedes simularlo usando la direction .

 .question { direction: rtl; text-align: left; } .question>div { display: inline-block; direction: ltr; }
 <div class="ques-block"> <details> <summary class="question"> <div>How important is accordian?</div> </summary> <p class="answer"> Accordian is type of question and answer forum in which qestion is in the question block and answer is in the answer block. </p> </details> </div>

over 4 years ago · Santiago Trujillo Report

0

No estoy seguro de cómo anular el estilo del marcador, pero puedo sugerir una solución.

 details summary { position: relative; } details summary::after { content: "▶"; position: absolute; margin-left: 20px; } details[open] summary::after { content: "▼"; } summary { list-style: none } summary::-webkit-details-marker { display: none; }
 <div class="ques-block"> <details> <summary class="question">How important is accordian?</summary> <p class="answer"> Accordian is type of question and answer forum in which qestion is in the question block and answer is in the answer block. </p> </details> </div>

over 4 years ago · Santiago Trujillo 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!