Increase the brightness of a text to improve its readability on a darker background.
Filters
Increase the brightness
Report a typo
Write HTML and CSS code
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>CSS filters</title>
</head>
<body>
<div>
<img alt="The image" class="img" src="https://images.pexels.com/photos/3649186/pexels-photo-3649186.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2">
<p class="desc">Venice, often referred to as the "Floating City," is renowned for its picturesque canals, captivating architecture, and rich artistic and cultural heritage.</p>
</div>
</body>
</html>
Completed 0 of 1
Set a brightness filter to the text is equal to 1.5
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.