Textual supports the concept of inline "links" embedded in text which trigger an action when pressed. There are a number of styles which influence the appearance of these links within a widget.
These CSS rules only target Textual action links. Internet hyperlinks are not affected by these styles.
||The background color of the link text.|
||The color of the link text.|
||The background color of the link text when the cursor is over it.|
||The color of the link text when the cursor is over it.|
||The style of the link text when the cursor is over it.|
||The style of the link text (e.g. underline).|
Visit each style's reference page to learn more about how the values are used.
In the example below, the first label illustrates default link styling. The second label uses CSS to customize the link color, background, and style.
- Inline links are not widgets, and thus cannot be focused.
- An introduction to links in the Actions guide.