css布局实现中性个人资料图片效果代码
代码语言:html
所属分类:布局界面
代码描述:css布局实现中性个人资料图片效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> body { background-color: #E7EAF1; height: 100vh; margin: 0; display: flex; align-items: center; justify-content: center; } figure { height: 200px; width: 200px; border-radius: 50%; box-shadow: inset 3px 3px 0px 0px rgba(0, 0, 0, 0), inset -5px -5px 0px 0px rgba(255, 255, 255, 0), 6px 6px 10px 2px rgba(0, 0, 0, 0.1), -5px -5px 10px 2px white; position: relative; overflow: hidden; } figure::before { content: ""; border-radius: 50%; position: absolute; height: 100%; width: 100%; box-shadow: inset 3px 3px 5px 2px rgba(0, 0, 0, 0.1),.........完整代码请登录后点击上方下载按钮下载查看
网友评论0