css实现木雕效果代码
代码语言:html
所属分类:布局界面
代码描述:css实现木雕效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Montserrat:400,400i,700'> <style> @import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Rubik+Dirt&display=swap"); * { font-family: "Bebas Neue", cursive; margin: 0; } body { display: flex; flex-direction: column; justify-content: space-evenly; align-items: center; height: 100vh; background: url("//repo.bfw.wiki/bfwrepo/image/643a9a9c4f356.png"); background-size:cover; } .container { display: flex; align-items: center; justify-content: space-evenly; width: 100%; } .wood { background-color: #bc8259; background-image: url("//repo.bfw.wiki/bfwrepo/image/643a9a10cad39.png"); border: 10px solid #f0e1c9; box-shadow: 0 7px 20px 2px; width: 25vw; height: 25vw; display: flex; justify-content: center; align-items: center; overflow: hidden; } .wood.circle { border-radius:.........完整代码请登录后点击上方下载按钮下载查看
网友评论0