test
This commit is contained in:
+14
-1
@@ -1,3 +1,16 @@
|
|||||||
import streamlit as st
|
import streamlit as st
|
||||||
|
|
||||||
st.title("🏠 Ana Sayfa")
|
bg_img = """
|
||||||
|
<style>
|
||||||
|
[data-testid="stAppViewContainer"] {
|
||||||
|
background-image: url("https://images.unsplash.com/photo-1542273917363-3b1817f69a2d");
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-attachment: fixed;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
"""
|
||||||
|
|
||||||
|
# Kodu Streamlit'e uyguluyoruz
|
||||||
|
st.markdown(bg_img, unsafe_allow_html=True)
|
||||||
Reference in New Issue
Block a user