.uppercase {
text-transform: uppercase;
}
#example {
text-transform: none; /* No capitalization, the text renders as it is (default) */
text-transform: capitalize; /* Transforms the first character of each word to uppercase */
text-transform: uppercase; /* Transforms all characters to uppercase */
text-transform: lowercase; /* Transforms all characters to lowercase */
text-transform: initial; /* Sets this property to its default value */
text-transform: inherit; /* Inherits this property from its parent element */
}
input {
text-transform: uppercase;
}
.link {
text-transform: lowercase;
}
.link::first-line {
text-transform: capitalize;
}
.class_name {
text-transform: none|capitalize|uppercase|lowercase|initial|inherit;
}
p{
/* Keyword values */
text-transform: none;
text-transform: capitalize;
text-transform: uppercase;
text-transform: lowercase;
text-transform: full-width;
text-transform: full-size-kana;
/* Global values */
text-transform: inherit;
text-transform: initial;
text-transform: revert;
text-transform: revert-layer;
text-transform: unset;
}
<input oninput="let p = this.selectionStart; this.value = this.value.toUpperCase();this.setSelectionRange(p, p);" />
Code Example |
---|
Css :: css a link style |
Css :: link active css |
Css :: css before is not working |
Css :: add notification in css |
Css :: css color black |
Css :: vh and vw |
Css :: bootstrap-start |
Css :: onclick after color change in css |
Css :: gradient over background video |
Css :: css transparent color |
Css :: css shrink image |
Css :: center absolute suedo element |
Css :: error no 2058 plugin caching_sha2_password could not be loaded |
Css :: style scrollbar table |
Css :: css cursor size |
Css :: transition |
Css :: btn glow on hover |
Css :: how to space out buttons css |
Css :: css text slider animation |
Css :: css noise filter |
Css :: how to use background property in css |
Css :: margin bottom |
Css :: remove horizontal scroll in small devices css |
Css :: css clamp |
Css :: linear-gradient tailwind |
Css :: fixed position css |
Css :: background css |
Css :: npm ERR! 404 Not Found - GET https://registry.npmjs.org/taiwindcss - Not found |
Css :: Heart Shape Html And Css |
Css :: rainbow text shadow animation |