File tree Expand file tree Collapse file tree 3 files changed +26
-1
lines changed Expand file tree Collapse file tree 3 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ function App() {
72
72
</ section >
73
73
74
74
{ /* Glass container for the whole page content */ }
75
- < div class = "max-w-3xl mx-auto p-8 bg-white/5 backdrop-blur-2xl border border-white/10 rounded-2xl shadow-xl" >
75
+ < div class = "max-w-3xl mx-auto p-8 bg-white/5 backdrop-blur-2xl border border-white/10 rounded-2xl shadow-xl glass-container-with-texture " >
76
76
77
77
{ /* Content sections */ }
78
78
< div class = "w-full mx-auto space-y-12 px-4" >
Original file line number Diff line number Diff line change 32
32
font-family : "WorkSans" ;
33
33
src : url ("/fonts/Work_Sans/WorkSans-Italic-VariableFont_wght.ttf" ) format ("truetype" );
34
34
font-display : swap;
35
+ }
36
+
37
+ /* Glass container with noisy texture overlay */
38
+ .glass-container-with-texture {
39
+ position : relative;
40
+ }
41
+
42
+ .glass-container-with-texture ::before {
43
+ content : "" ;
44
+ position : absolute;
45
+ top : 0 ;
46
+ left : 0 ;
47
+ right : 0 ;
48
+ bottom : 0 ;
49
+ background-image : url ('/noisy-texture-100x100-o4-d10-c-f34379-t1.png' );
50
+ background-repeat : repeat;
51
+ opacity : 0.3 ;
52
+ pointer-events : none;
53
+ z-index : 1 ;
54
+ border-radius : inherit;
55
+ }
56
+
57
+ .glass-container-with-texture > * {
58
+ position : relative;
59
+ z-index : 2 ;
35
60
}
You can’t perform that action at this time.
0 commit comments