Build your web apps using Smart UI
Input- CSS API Reference
All Common CSS variables:
Specific CSS variables for Text Box styling:
- --smart-text-box-default-width: Text Box default width.
- --smart-text-box-default-height: Text Box default height.
The following CSS selectors can be used to style Text Box:
-
smart-input - the element itself. Can be used to set width and height for the whole element.
-
.smart-container - the container that holds all of the internals of the element. Shoudn't be used for styling.
- .smart-input - an HTML Input element.
- DIV element - a container for the autoComplete string that is used when autoComplete mode is set to 'inline'.
-
.smart-drop-down .smart-drop-down-container - the drop down elemnt container.
- smart-list-box - a smartListBox custom element used as the drop down.
-
.smart-container - the container that holds all of the internals of the element. Shoudn't be used for styling.
Demo
<style> #input{ --smart-font-size: 20px; } </style>