Line 1: | Line 1: | ||
− | + | <!DOCTYPE html> | |
<html> | <html> | ||
<head> | <head> | ||
Line 12: | Line 12: | ||
text-align: center; | text-align: center; | ||
line-height: 60px; /*line-height的值应与grid-template-rows的值相等,用于垂直居中*/ | line-height: 60px; /*line-height的值应与grid-template-rows的值相等,用于垂直居中*/ | ||
− | background-color: | + | background-color: #C7EDCC; |
padding: 5px 5px 5px 0px; /*上 右 下 左*/ | padding: 5px 5px 5px 0px; /*上 右 下 左*/ | ||
box-shadow: 0 5px 5px gray; /*box-shadow: h-shadow v-shadow blur spread color inset;*/ | box-shadow: 0 5px 5px gray; /*box-shadow: h-shadow v-shadow blur spread color inset;*/ | ||
font-family: Goudy Old Style Regular,sans-serif; | font-family: Goudy Old Style Regular,sans-serif; | ||
font-size: 18px; | font-size: 18px; | ||
− | + | background-color: whitesmoke; | |
− | + | ||
} | } | ||
Line 33: | Line 32: | ||
} | } | ||
#nav a { | #nav a { | ||
− | |||
text-decoration: none; | text-decoration: none; | ||
color: black; | color: black; | ||
− | transition: background-color 0.3s | + | transition: background-color 0.3s ease-out 0.1s; /*property duration timing-function delay*/ |
} | } | ||
#nav a:hover {background-color: #C7EDCC;} | #nav a:hover {background-color: #C7EDCC;} | ||
Line 61: | Line 59: | ||
− | + | ||
Revision as of 09:57, 24 September 2018
<!DOCTYPE html>