developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
9
results
Andrew Fletcher
•
As you're using Bootstrap 5 and applying a style for the hover state of an accordion button, specifically changing the background image of an ::after pseudo-element. If you want to change the icon colour on hover, you should modify the fill attribute in the SVG's path element.
Here's an example:
/* Default state */
.accordion-button::after {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd'...
Andrew Fletcher
•
This code is from Drupal 9 back-end for a React front-end via REST API.
Working...
Andrew Fletcher
•
The cache system in Drupal 9 delivers the API with the elements required for...
Andrew Fletcher
•
Installing Varnish to increase the speed of the page load.
Install varnish using...
Andrew Fletcher
•
Clear DNS Cache
The DNS (Domain Name Service) cache on your Mac helps browsers...
Andrew Fletcher
•
Time is essential to all of us... and if you are like me there is never enough of it! Anyway, the amount of time to read a piece of content can persuade someone whether to read on further... or swipe it away. When on the verge of flipping an article as the title and /or teaser text hasn't got me across the line, the time to read is a handy reference for me. This handy feature is becoming more common across any decent article publisher.
So how do you add this feature to...
Andrew Fletcher
•
Well for me it is very slow. Recently, I upgraded from CentOS 6 to Centos...
Andrew Fletcher
•
To connect to your CPanel hosted server via SSH OSX, please follow...