When you do the mobile page, and want to use pseudo-elements to do the real 1 pixel border, and want to have a corner, you will find that only add a border-radius when the effect of the paragraph did not turn into a fillet, the solution is to add two Border-radius
<class= "white_wrap border b_all"></Div >
. White_wrap{margin:1.5rem 1.5rem 0 1.5rem;Background-color:#fff;border-radius:6px;}. Border{position:relative;}. Border:after{content:"";position:Absolute; Left:0;Top:0; Right:-100%;Bottom:-100%;-webkit-transform:Scale (0.5);-webkit-transform-origin:0 0;pointer-events:None;}. B_all:after{Border:1px solid #e3e4e5;border-radius:12px;}//Note that the rounded corners of the pseudo elements are set to twice times
The frame in the picture is real 1px, which may not be obvious on the PC side.
Use pseudo-elements to write a moving side 1px border when you want to achieve a corner effect