from shiny import ui
# https://icons.getbootstrap.com/icons/question-circle-fill/
def question_circle_fill():
ui.HTML(
''
)
def background_img(url: str, opacity: float) -> str:
"""
Generate CSS style for setting a somewhat transparent background image.
Parameters
----------
url : str
URL of the image to be used as a background.
opacity : float
Opacity level of the background image (0.0 to 1.0).
Returns
-------
str
A CSS style string to set the somewhat transparent background image.
"""
return f"""
"""