In this chapter you will learn about the following user interface properties:
- resize
- outline-offset

div {
resize: horizontal;
overflow: auto;
}
div {
resize: vertical;
overflow: auto;
}
div {
resize: both;
overflow: auto;
}
- An outline is a line drawn around elements, outside the border edge
- An outline does not take up space
- An outline may be non-rectangular

div {
border: 1px solid black;
outline: 1px solid red;
outline-offset: 15px;
}
|
Property
|
Description
|
|---|---|
| box-sizing | Allows you to include the padding and border in an element’s total width and height |
| nav-down | Specifies where to navigate when using the arrow-down navigation key |
| nav-index | Specifies the tabbing order for an element |
| nav-left | Specifies where to navigate when using the arrow-left navigation key |
| nav-right | Specifies where to navigate when using the arrow-right navigation key |
| nav-up | Specifies where to navigate when using the arrow-up navigation key |
| outline-offset | Adds space between an outline and the edge or border of an element |
| resize | Specifies whether or not an element is resizable by the user |
