How to give border to any element using css without adding border-width to the whole width of element?

前端 未结 11 1894
礼貌的吻别
礼貌的吻别 2020-12-02 10:19

How to give border to any element using css without adding border-width to the whole width of element?

Like in Photoshop we can give stroke- Inside , center and out

11条回答
  •  悲&欢浪女
    2020-12-02 11:01

    Thus, you're trying to achieve the same as the well known IE box model bug? That's not possible. Or you want to support clients with IE on Windows only and choose a doctype which forces IE into quirksmode.

提交回复
热议问题