javascript - HTML static web page, can the black borders be removed from the left and right buttons of this carousel image? I can't find where to adjust it?
習慣沉默2017-07-05 10:38:21
0
5
863
I want to change the left and right buttons. The picture is white, but why is there a black frame when the page is displayed? How to remove the black frame
First of all, span is an inline block element. Anyway, I feel awkward when I see you directly setting the width and height. You can set it as an inline block level element. Give it a try and you should be able to solve it
The picture should be cut into a transparent background, which is a picture in png format.
Either change the image to png, or set border-radius
It should be good to change the background color of
da-arrows-prev
andda-arrows-next
totransparent
First of all, span is an inline block element. Anyway, I feel awkward when I see you directly setting the width and height. You can set it as an inline block level element. Give it a try and you should be able to solve it
If it is span.da-arrows-prev, just remove the background
If it is a pseudo-class background
`span.da-arrows-prev::after{
}`