Roasted Bean Deploy commited on
Commit
d21d060
·
1 Parent(s): 62a14be

📱 Responsive hero bg image: 1920w/800w/500w per viewport

Browse files
Files changed (1) hide show
  1. public/css/style.css +18 -0
public/css/style.css CHANGED
@@ -230,6 +230,24 @@ body {
230
  pointer-events: none;
231
  }
232
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
233
  .hero-inner {
234
  max-width: 1120px;
235
  margin: 0 auto;
 
230
  pointer-events: none;
231
  }
232
 
233
+ @media (max-width: 768px) {
234
+ .hero::after {
235
+ background:
236
+ radial-gradient(ellipse at 80% 50%, rgba(60, 110, 85, 0.04) 0%, transparent 70%),
237
+ url('https://images.unsplash.com/photo-1504630083234-14187a9df0f5?w=800&q=80&fit=crop&crop=center') center/cover no-repeat;
238
+ opacity: 0.22;
239
+ }
240
+ }
241
+
242
+ @media (max-width: 480px) {
243
+ .hero::after {
244
+ background:
245
+ radial-gradient(ellipse at 80% 50%, rgba(60, 110, 85, 0.04) 0%, transparent 70%),
246
+ url('https://images.unsplash.com/photo-1504630083234-14187a9df0f5?w=500&q=80&fit=crop&crop=center') center/cover no-repeat;
247
+ opacity: 0.25;
248
+ }
249
+ }
250
+
251
  .hero-inner {
252
  max-width: 1120px;
253
  margin: 0 auto;