.bighead { width: 300px; height: 300px; border: 1px solid gray; overflow: hidden; border-radius: 150px; position:relative; } .bighead img { width: 100%;/* margin-top:100px; 調整圖片重點位置*/ opacity:0.7;fillter:alpha(opacity=70); } .outside{ width: 300px; height: 300px; border:1px solid gray; border-radius:150px; position:absolute; background:radial-gradient( circle closest-corner, red , orange, yellow, green, blue, indigo, violet); background-size:cover; }
Amanda's big head