diff --git a/docs/components/window/frame.ejs b/docs/components/window/frame.ejs index 9fbd803..c2f0e60 100644 --- a/docs/components/window/frame.ejs +++ b/docs/components/window/frame.ejs @@ -70,4 +70,24 @@ `) %> + +

+ To make the aero effect move when scrolling, or changing the viewport size, change the background-attachment property of the .title-bar to fixed or scroll, depending on your requirements. +

+ <%- example(` +
+
+
+
A glass window frame with fixed background-attachment
+
+ + +
+
+
+

The aero effect is now changing with the scroll position.

+
+
+
+ `) %> \ No newline at end of file diff --git a/gui/_window.scss b/gui/_window.scss index 50c36d6..265514f 100644 --- a/gui/_window.scss +++ b/gui/_window.scss @@ -213,6 +213,7 @@ > .title-bar { background: var(--window-background-glass-stripes); + background-attachment: local; } }