A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Styling_basics/Cool-looking_box below:

Challenge: A cool-looking box - Learn web development

Challenge: A cool-looking box

In this assessment, you'll get some more practice in creating cool-looking boxes by trying to create an eye-catching box.

Prerequisites: Before attempting this assessment you should have already worked through all the articles in this module. Objective: To test comprehension of the CSS box model and other box-related features such as borders and backgrounds. Starting point

To get this assessment started, you should:

HTML
<!doctype html>
<html lang="en-US">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>Cool box</title>
    <!-- your css link goes here -->
  </head>
  <body>
    <div>This is a cool box</div>
  </body>
</html>
CSS
html {
  font-family: sans-serif;
}

/* Your CSS below here */

Alternatively, you could use an online editor such as CodePen or JSFiddle. You could paste the HTML and fill in the CSS into one of these online editors.

Note: If you get stuck, you can reach out to us in one of our communication channels.

Project brief

Your task is to create a cool, fancy box and explore the fun we can have with CSS.

General tasks Styling the box

We'd like you to style the provided <div>, giving it the following:

Hints and tips Example

The following screenshot shows an example of what the finished design could look like:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4