Sathwikchowdary commited on
Commit
931c1aa
·
verified ·
1 Parent(s): 58ed0a3

Update Home.py

Browse files
Files changed (1) hide show
  1. Home.py +7 -0
Home.py CHANGED
@@ -6,6 +6,13 @@ st.set_page_config(page_title="Zero to Hero: Master Data Science & ML")
6
  ## CSS Styling for Background Image with Gradient Overlay
7
 
8
  custom_css = """
 
 
 
 
 
 
 
9
  <style>
10
  html, body, [data-testid="stAppViewContainer"] {
11
  background-image:
 
6
  ## CSS Styling for Background Image with Gradient Overlay
7
 
8
  custom_css = """
9
+ <div style="background-image: url('https://via.placeholder.com/800'); background-size: cover; height: 200px; color: white; display: flex; align-items: center; justify-content: center;">
10
+ <h2>Centered Text</h2>
11
+ </div>
12
+ '); background-size: cover; height: 200px; color: white; display: flex; align-items: center; justify-content: center;">
13
+ <h2>Centered Text</h2>
14
+ </div>
15
+
16
  <style>
17
  html, body, [data-testid="stAppViewContainer"] {
18
  background-image: