Harika22's picture
Update app.py
e7c9d8d verified
raw
history blame
1.69 kB
import streamlit as st
st.markdown("""
<style>
/* Background styling */
body {
background: linear-gradient(to right, #6a11cb, #2575fc);
color: white;
font-family: 'Arial', sans-serif;
}
/* Title styling */
h1 {
font-size: 3.5rem;
text-align: center;
margin-top: 50px;
font-weight: bold;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
/* Subtitle styling */
h2 {
font-size: 1.8rem;
text-align: center;
margin-top: -20px;
font-weight: 300;
color: #f0f0f0;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
/* Button styling */
.stButton > button {
background: #ff7f50;
color: white;
font-size: 1.2rem;
padding: 10px 20px;
border-radius: 8px;
border: none;
cursor: pointer;
transition: all 0.3s ease;
}
.stButton > button:hover {
background: #ff4500;
transform: scale(1.05);
}
/* Footer styling */
.footer {
position: fixed;
bottom: 0;
width: 100%;
background-color: rgba(0, 0, 0, 0.7);
color: white;
text-align: center;
padding: 10px 0;
font-size: 0.9rem;
}
</style>
""",
unsafe_allow_html=True,
)
st.markdown("<h1>Zero to Hero</h1>", unsafe_allow_html=True)
st.caption("<h2>The Evolution of Intelligence Begins Here</h2>", unsafe_allow_html=True)
st.write("")
st.write("Explore the features of this app with stunning visuals and intuitive design.")
if st.button("Get Started"):
st.write("You've clicked the 'Get Started' button! ๐ŸŽ‰")