A usability trial ran five ordinary web stylesheets through css_tool check. Its fifteen most frequent non-native features are handled here. HTML type selectors that are one Kryon widget match it: a, p, button, input, textarea, select, img and body. Headings, tables, label and plain containers fail with their native form. Browser-only declarations and common web properties without a native form (position and its offsets, backdrop-filter, named grid areas, box-sizing, aspect-ratio, object-fit, overflow-x/-y, place-items, appearance, float) say what Kryon does instead, as do z-index, cursor, display: none and inline-*, unequal grid tracks and percentage sizes inside min(). Two classes in one selector and unequal block padding name the native form. css_tool check exits with status 1 when it skipped anything natively and stays at 0 for browser-only declarations alone.
5 lines
48 B
CSS
5 lines
48 B
CSS
Button {
|
|
cursor: pointer;
|
|
color: #1d4ed8;
|
|
}
|