From 295fe875a3aacf8c882b3ad9c659f6d5f9405308 Mon Sep 17 00:00:00 2001 From: rou Date: Fri, 13 Mar 2026 23:55:18 +0800 Subject: [PATCH] update --- 02-css-layout/10-fixed-and-sticky/answer.css | 1 + .../10-fixed-and-sticky/starter.html | 20 +++++++- 02-css-layout/11-centering-lab/starter.html | 51 ++++++++++++++----- 3 files changed, 59 insertions(+), 13 deletions(-) diff --git a/02-css-layout/10-fixed-and-sticky/answer.css b/02-css-layout/10-fixed-and-sticky/answer.css index 3649f46..5a37456 100644 --- a/02-css-layout/10-fixed-and-sticky/answer.css +++ b/02-css-layout/10-fixed-and-sticky/answer.css @@ -27,6 +27,7 @@ body { background: #ffffff; border-bottom: 1px solid #cbd5e1; font-weight: 700; + width: 100%; } .content { diff --git a/02-css-layout/10-fixed-and-sticky/starter.html b/02-css-layout/10-fixed-and-sticky/starter.html index 005d67f..6810a02 100644 --- a/02-css-layout/10-fixed-and-sticky/starter.html +++ b/02-css-layout/10-fixed-and-sticky/starter.html @@ -7,8 +7,10 @@ diff --git a/02-css-layout/11-centering-lab/starter.html b/02-css-layout/11-centering-lab/starter.html index 0d72667..a1e2806 100644 --- a/02-css-layout/11-centering-lab/starter.html +++ b/02-css-layout/11-centering-lab/starter.html @@ -1,14 +1,41 @@ - - - - 居中专题 - - - -
-
把我放到中间
-
- - + + + + + 居中专题 + + + + +
+
把我放到中间
+
+ + + \ No newline at end of file