ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Custom Streamlit Background Image/Color Gradient through CSS

Автор: Fanilo Andrianasolo

Загружено: 2022-08-17

Просмотров: 66604

Описание: You can change the ‪@streamlitofficial‬ background color using Streamlit theming, but how do you go putting a color gradient or an external image?
In this video, I show you how to use the CSS Markdown Trick to inject your own custom background. I will first use the st.markdown(..., unsafe_allow_html=True) method to inject a CSS Gradient Color pattern, and show you problems you'll have if you try to further edit it.
I then proceed to load an image from an URL to Streamlit's background.
Finally, I fail to load a local image as a Streamlit background using an URL, and instead inject the image to CSS as a base64 encoded text.
I conclude by adding some CSS background properties to reposition, resize and have the background image scroll with the app.
This gives you the necessary tools to customize your Streamlit app background to your heart’s desire through CSS.

📧 My email list to keep up to date with the latest news, tutorials and resources about Streamlit & friends ➡ https://andfanilo-newsletter.streamli...
💰 Buy me a coffee to stay awake while editing ➡ https://www.buymeacoffee.com/andfanilo
🗣️ Find my socials ➡ https://andfanilo.com

00:00 Context
00:22 CSS Pattern
01:38 Background Image on the net
02:30 Local background image
04:14 Resize, reposition, scrollable image

---

🗣️ Stay up to date with the Data Web App Ecosystem

📑 Follow my socials ➡ https://andfanilo.com
📧 Get my latest updates in your inbox ➡ https://newsletter.andfanilo.com
💰 Buy me a coffee to stay awake while editing ➡ https://www.buymeacoffee.com/andfanilo

🔗 Links

Source code: https://github.com/andfanilo/social-m...
Streamlit website: https://streamlit.io/
Streamlit docs: https://docs.streamlit.io/
Streamlit forum: https://discuss.streamlit.io/
Streamlit Discord (official):   / discord  

🔧 My tools (Affiliate links to support me)

📕 Streamlit Official Book - https://amzn.to/3QuRPwl
📷 Main Camera - https://amzn.to/3QvTosB
📷 Main Lens - https://amzn.to/3svYCwq
🎙️ Microphone - https://amzn.to/47l5ewA
🎵 Music & Sound Effects - https://www.epidemicsound.com/referra...

---

🪶 26th video out of 35 for the year. Also HEYYY I just broke 1000 subs, thank you everyone for the support! Now let me enjoy a little summer break so I don't stress out about the "9 videos left to do in 4 months" and "4000 hours of watch time" metrics!

👍 On this channel, we love building a lot of small yet smart Streamlit apps to improve our Python chops, and recall our stories around Data Science and Content Creation. Like & Subscribe if you would like to see more videos!

⚠️ Links included in this description might be affiliate links. If you purchase a product or service with the links that I provide I may receive a small commission. Thank you for supporting my channel so I can continue providing you with free content!

#streamlit #python #datascience #dataapps

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Custom Streamlit Background Image/Color Gradient through CSS

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

НАКОНЕЦ! Оформите своё приложение Streamlit с помощью пользовательского CSS 🎨

НАКОНЕЦ! Оформите своё приложение Streamlit с помощью пользовательского CSS 🎨

Элементы Streamlit, о которых вам стоит знать в 2023 году

Элементы Streamlit, о которых вам стоит знать в 2023 году

Modern CSS Gradients Tutorial — From Basics to Advanced Design Effects

Modern CSS Gradients Tutorial — From Basics to Advanced Design Effects

Kickstart your Custom Streamlit Chatbot (ft. CSS & Langchain)

Kickstart your Custom Streamlit Chatbot (ft. CSS & Langchain)

Why I use single-color gradients in my CSS

Why I use single-color gradients in my CSS

Как развернуть приложение в облаке сообщества Streamlit

Как развернуть приложение в облаке сообщества Streamlit

5 Things I Wish I Knew Before Learning Streamlit

5 Things I Wish I Knew Before Learning Streamlit

Streamlit Часть 10: Освоение навигации по страницам

Streamlit Часть 10: Освоение навигации по страницам

Как применять пользовательские стили CSS в приложениях Streamlit

Как применять пользовательские стили CSS в приложениях Streamlit

5 Ways to Make Gradients on the Web

5 Ways to Make Gradients on the Web

The Streamlit Epic Overview (part 1/2)

The Streamlit Epic Overview (part 1/2)

How To: Craft Interactive Dashboards in Python with Streamlit

How To: Craft Interactive Dashboards in Python with Streamlit

Как использовать состояния сеансов и функции обратного вызова Streamlit | Заставьте свои приложен...

Как использовать состояния сеансов и функции обратного вызова Streamlit | Заставьте свои приложен...

How I Build Google Sheets to Streamlit Dashboard | ft. Airbyte

How I Build Google Sheets to Streamlit Dashboard | ft. Airbyte

Streamlit Reveals NEW CSS Styling Trick! (Here’s How to Use)

Streamlit Reveals NEW CSS Styling Trick! (Here’s How to Use)

Learn Streamlit from Scratch - Live Coding the 30 Day Challenge

Learn Streamlit from Scratch - Live Coding the 30 Day Challenge

Add an overlay to a background-image with one line of CSS

Add an overlay to a background-image with one line of CSS

Создание веб-приложения Dashboard на Python — полное руководство по Streamlit

Создание веб-приложения Dashboard на Python — полное руководство по Streamlit

Почему Азовское море — самое опасное в мире

Почему Азовское море — самое опасное в мире

Создание и развертывание многостраничного веб-приложения с использованием Python (Streamlit)

Создание и развертывание многостраничного веб-приложения с использованием Python (Streamlit)

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]