Basic example
example.css
opacity: 0.85;
line-height: 1.5;
A <number> is a real number without a unit, such as 1.5 for opacity or scale.
opacity: 0.85;
line-height: 1.5;opacity: 0.85;
line-height: 1.5;opacity: 0.85;
line-height: 1.5;<number> is a modern CSS feature.
Supported in current major browsers with progressive enhancement.
Bottom line: Keep a readable fallback when using newer syntax.
Continue with
CODETOFUN NEWS
Get the latest IT news, programming updates, and technology trends directly on your phone.
Your daily dose of tech, straight to your feed.
2 people found this page helpful