Moving dotted border using CSS

后端 未结 8 1871
感情败类
感情败类 2020-12-08 10:57

I have class that applies a dotted style border property to a text block at runtime. I am trying to find a solution, using CSS, that makes the border move like a gif image.

8条回答
  •  死守一世寂寞
    2020-12-08 11:12

    Do you mean you want to animate the dotted border?

    You could look into CSS 3 border images, which would allow you to provide an (animated) gif for your border, if you don't mind not supporting IE.

提交回复
热议问题