Search
 
SCRIPT & CODE EXAMPLE
 

CSS

change color accordion arrow bootstrap 5

.accordion-button::after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
 }
Comment

Bootstrap default accordion arrow icon change

.accordion-button::after {
	background-image: url("path_to_image");
}
.accordion-button:not(.collapsed)::after {
	background-image: url("path_to_image");
}
Comment

PREVIOUS NEXT
Code Example
Css :: html table scrollable body fixed header 
Css :: uninstall tinyproxy ubuntu 
Css :: placeholder color 
Css :: css wrap 
Css :: line-weight css 
Css :: change svg color css 
Css :: position absolute 
Css :: beautiful navigation bar css 
Css :: Align bootstrap container centered vertically 
Css :: import antd css 
Css :: tailwindcss table 
Css :: overlay color on image css 
Css :: how many px is iphone 12 pro max css 
Css :: aspect ratio css 
Css :: different measurements in css 
Css :: select last tr in table css 
Css :: z index 
Css :: $scope.$apply 
Css :: how to center an overlay button using css transform and translate 
Css :: css word break 
Css :: css gradient background 
Css :: css break after 2 words 
Css :: how to link css to html flask 
Css :: color td first row css 
Css :: css background text clip 
Css :: does boxshadow work 
Css :: how to make the select box font size small in css 
Css :: DOM element add multiple attributes 
Css :: nprogress css 
Css :: round the value of 2 decimals in java 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =