Skip to content

How to add additional CSS style properties? #18

Open
@reckoner

Description

@reckoner

You have the following example in your widget-layout-and-styling notebook

from ipywidgets import ButtonStyle
b2 = Button(description='Custom color', style=ButtonStyle(button_color = 'lightgreen'))
b2

but how could I change the CSS color of the text? Is that possible using the style keyword argument?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions