Harika22 commited on
Commit
d00ae54
·
verified ·
1 Parent(s): e7c9d8d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -33
app.py CHANGED
@@ -2,9 +2,12 @@ import streamlit as st
2
 
3
  st.markdown("""
4
  <style>
5
- /* Background styling */
6
  body {
7
- background: linear-gradient(to right, #6a11cb, #2575fc);
 
 
 
8
  color: white;
9
  font-family: 'Arial', sans-serif;
10
  }
@@ -28,45 +31,15 @@ st.markdown("""
28
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
29
  }
30
 
31
- /* Button styling */
32
- .stButton > button {
33
- background: #ff7f50;
34
- color: white;
35
- font-size: 1.2rem;
36
- padding: 10px 20px;
37
- border-radius: 8px;
38
- border: none;
39
- cursor: pointer;
40
- transition: all 0.3s ease;
41
- }
42
-
43
- .stButton > button:hover {
44
- background: #ff4500;
45
- transform: scale(1.05);
46
- }
47
-
48
- /* Footer styling */
49
- .footer {
50
- position: fixed;
51
- bottom: 0;
52
- width: 100%;
53
- background-color: rgba(0, 0, 0, 0.7);
54
- color: white;
55
- text-align: center;
56
- padding: 10px 0;
57
- font-size: 0.9rem;
58
- }
59
  </style>
60
  """,
61
  unsafe_allow_html=True,
62
  )
63
 
64
- st.markdown("<h1>Zero to Hero</h1>", unsafe_allow_html=True)
65
  st.caption("<h2>The Evolution of Intelligence Begins Here</h2>", unsafe_allow_html=True)
66
 
67
  st.write("")
68
 
69
  st.write("Explore the features of this app with stunning visuals and intuitive design.")
70
 
71
- if st.button("Get Started"):
72
- st.write("You've clicked the 'Get Started' button! 🎉")
 
2
 
3
  st.markdown("""
4
  <style>
5
+ /* Body styling with gradient and background image */
6
  body {
7
+ background: linear-gradient(to right, rgba(255, 0, 150, 0.7), rgba(0, 204, 255, 0.7)),
8
+ url('https://source.unsplash.com/1920x1080/?nature,technology');
9
+ background-size: cover;
10
+ background-attachment: fixed;
11
  color: white;
12
  font-family: 'Arial', sans-serif;
13
  }
 
31
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
32
  }
33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  </style>
35
  """,
36
  unsafe_allow_html=True,
37
  )
38
 
39
+ st.markdown("<h1>Zero to Hero in Machine Learning</h1>", unsafe_allow_html=True)
40
  st.caption("<h2>The Evolution of Intelligence Begins Here</h2>", unsafe_allow_html=True)
41
 
42
  st.write("")
43
 
44
  st.write("Explore the features of this app with stunning visuals and intuitive design.")
45