How i can create border dashed with gradient?
问题 Hi everyone I need to create border dashed gradient like in this picture.Heres my CSS code.Please anyone help me. .Rectangle-5 { margin: 51px 0px 0px 35px; display: inline-block; width: 370px; height: 280px; border-radius: 3px; border: 1px dashed; border-image-source: linear-gradient(to bottom, #4fc3f7, #ab5ca4 49%, #ff512f); border-image-slice: 1; } 回答1: New answer Here is an improvement version of the initial answer with less of code. The idea is to rely on multiple background and adjust