значения свойства:
.a {
text-transform
:
none
;
}
.c {
lowercase
.a { text-transform: none; } .c { text-transform: lowercase; }
<!DOCTYPE html>
<
html
>
head
meta
charset
=
"utf-8"
/>
title
>New Page</
link
href
"css/style.css"
rel
"stylesheet"
script
type
"text/javascript"
src
"https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"
></
</
body
p
class
"a"
>to be or not to be?</
br
id
"p1"
"b"
"c"
>TO BE OR NOT TO BE?</
/*JavaScript*/
document.getElementById("p1").style.textTransform = "capitalize";
/*jQuery*/
$(document).ready(function () {
$(".b").css({ "text-transform": "uppercase" });
});