Hello is there a way to change the transparency of an image. This is my code
import dash
from dash import html
app = dash.Dash(name)
app.layout = html.Div(
style={
“background-image”: “url(/assets/Coffee.png)”,
“background-repeat”: “no-repeat”,
“background-position”: “center center”, # Center the image
“background-size”: “cover”, # Cover the entire viewport
“height”: “100vh”, # Ensure the div takes up the full height of the viewport
“width”: “100vw”, # Ensure the div takes up the full width of the viewport
},
children=[
html.H1(“Coffee Sales In The USA”,
style={“color”:“#FFFFFF”}
),
html.P(“This image has an image in the background”)
]
)