Computer scienceFrontendCSSBasic propertiesCommon properties

Background

Linear gradient

Report a typo

Set a linear gradient (from #47FFFF to #FF85F9) to the background.

Don't edit HTML section

Tip: background-image: linear-gradient(red, yellow); - example from the topic

Write HTML and CSS code
<!-- Do not edit this code -->
<html>
<head>
<title>Linear gradient</title>
</head>
<body>
<div class="block1"></div>
</body>
</html>
Completed 0 of 1
Background applied
___

Create a free account to access the full topic