漂浮线段特效

This commit is contained in:
Vixcity
2023-01-30 15:06:41 +08:00
parent 7bfc5610b6
commit f1f9f28a3a
20 changed files with 153 additions and 50 deletions

View File

@@ -25,7 +25,8 @@ const LayoutBase = props => {
<Nav {...props} />
{/* 主体 */}
<div id='container-inner' className="w-full">
<div id='wrapper'>
<div id='container-inner' className="w-full relative z-10">
<Title {...props} />
@@ -38,6 +39,7 @@ const LayoutBase = props => {
</div>
</div>
</div>
<Footer {...props} />

View File

@@ -8,7 +8,7 @@ export const Header = (props) => {
const { siteInfo } = props
return (
<header className="w-full px-6 bg-white dark:bg-black">
<header className="w-full px-6 bg-white dark:bg-black relative z-10">
<div className="container mx-auto max-w-4xl md:flex justify-between items-center">
<Link
href='/'