> For the complete documentation index, see [llms.txt](https://sbdojo.gitbook.io/sushi-cards/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sbdojo.gitbook.io/sushi-cards/2021-2022/session-1/make-a-website/day-5-more-css/adding-more-nav-bar-css-rules.md).

# Adding More Nav Bar CSS Rules

Go to your `styles.css` file, and add the following new properties to your `nav ul` selector.

```css
border-style: solid;
border-color: CHANGE_TO_VALUE_FROM_W3SCHOOLS;
border-width: 2px;
padding: 10px;
```

Change the `CHANGE_TO_VALUE_FROM_W3SCHOOLS` to any color from [this list](https://www.w3schools.com/colors/colors_groups.asp).

Try changing some of the properties. See what happens? Specifically change around `border-width` and `padding` to different amounts of pixels.

## Removing the Underline From The Nav Bar

The blue underline for the links is unprofessional, and doesn't show up on real websites. Let's go ahead and remove it.

{% hint style="success" %}
**Task:**

Add a new rule to your stylesheet with the selector of `nav ul li a`. This way it, targets specifically the anchor elements in our nav bar. Within this new rule, add the `text-decoration` property with a value of `none`. It should look something like below:

```css
nav ul li a {
    text-decoration: none;
}
```

Do the link underlines go away? Ask your mentor for help if it isn't working.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sbdojo.gitbook.io/sushi-cards/2021-2022/session-1/make-a-website/day-5-more-css/adding-more-nav-bar-css-rules.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
