Home  >  Q&A  >  body text

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?


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

習慣沉默習慣沉默2663 days ago843

reply all(5)I'll reply

  • 仅有的幸福

    仅有的幸福2017-07-05 10:40:21

    The picture should be cut into a transparent background, which is a picture in png format.

    reply
    0
  • ringa_lee

    ringa_lee2017-07-05 10:40:21

    Either change the image to png, or set border-radius

    reply
    0
  • typecho

    typecho2017-07-05 10:40:21

    It should be good to change the background color of

    da-arrows-prev and da-arrows-next to transparent

    reply
    0
  • 漂亮男人

    漂亮男人2017-07-05 10:40:21

    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

    reply
    0
  • PHP中文网

    PHP中文网2017-07-05 10:40:21

    If it is span.da-arrows-prev, just remove the background

    span.da-arrows-prev{
        background:none;
    }

    If it is a pseudo-class background
    `span.da-arrows-prev::after{

    background:none;

    }`

    reply
    0
  • Cancelreply