How to add an offsetted outline to a CSS shape?
问题 I have a bit of a problem with creating a block with beveled edges, in addition I need a border to be beveled and slightly off the main block. The problem is that this block can be Reponsive according to the screen. I do not know the exact way to do it, hope everyone helps. This is what I do now .box { display: flex; padding: 20px; height: 200px; width: 300px; color: #ffffff; background: red; position: relative; } .box .edge { width: 18px; height: 10px; background: #ffffff; position: absolute