.p { position:relative; margin:70px auto; width:fit-content; } .p .c { width:188px; height:106px; background:#626262; border-radius:15px; border-style:ridge; border-width:20px; border-color:#ee7507; }
简单实现相册边框,div.c 里面添加图片或者文字