jquery+css实现圣托里尼建筑背景效果代码

代码语言:html

所属分类:背景

代码描述:jquery+css实现圣托里尼建筑背景效果代码

代码标签: 里尼 建筑 背景 效果

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en" >

<head>

  <meta charset="UTF-8">
  

  
<style>
:root {
	--cube-size: 100px;
	--color-white: #f5f8ea;
	--color-white-shadow-1: #96c6d9;
	--color-white-shadow-2: #e1eef2;
	--color-blue: #0d5299;
}

* {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

body {
	background-color: #eee;
	min-height: 100vh;
	width: 100%;
	overflow: hidden;
	white-space: nowrap;
	background-color: var(--color-white-shadow-1);
}

#title {
	position: absolute;
	z-index: 2000;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	width: 100%;
	height: 100%;
	pointer-events: none;
	border: 30px double var(--color-blue);
	color: var(--color-blue);
	text-shadow: 1px 1px 0 var(--color-white);
}

#title h2 {
	font-family: "Yellowtail", sans-serif;
	padding: 10px 20px 0;
	font-weight: 400;
	font-size: 30px;
	background-color: var(--color-white);
	margin-bottom: -6px;
	line-height: 1;
	z-index: 1;
	border: 6px solid var(--color-blue);
	border-bottom: 0;
}

#title h1 {
	font-size: 70px;
	font-family: "Josefin Sans", cursive;
	text-transform: uppercase;
	font-weight: 600;
	ba.........完整代码请登录后点击上方下载按钮下载查看

网友评论0