Here's an example from Bootstrap 5 web page that I've been working with (https://getbootstrap.com/docs/5.0/components/accordion/). My query pertains to positioning the arrows before the text in the accordion items. Despite attempting various approaches, I have yet to achieve the desired result.
<div class="accordion" id="accordionExample">
//Accordion HTML code here
</div>
I made an attempt through inspection by changing margin-right: auto;
to margin-left: auto;
. Although this aligned the content to the left, the arrow still appeared after the text. Below is the CSS snippet I modified:
.accordion-button::after {
flex-shrink: 0;
width: 1.25rem;
height: 1.25rem;
margin-right: auto;
//More CSS properties...
}