IES: CSS-deck 15 Flashcards
1
Q
when a hyperlink is displayed as a block:
A
its entire content box is clickable
2
Q
cursor
A
- CSS property
- Can specify the type to display when hovering over a selected element
- keywords:
1. “auto”
2. “default”
3. “pointer”
4. “crosshair”
5. “move”
6 “text”
7. “wait”
8. “progress”
9. “n-resize”
10. “ne-resize”
11. “e-resize”
12. “se-resize”
13. “s-resize”
14. “sw-resize”
15. “w-resize”
16. “nw-resize”
3
Q
cursor:”auto”;
A
-
cursor
keyword/value - default value
- Allows the browser to determine which cursor to display
4
Q
cursor: “default”;
A
-
cursor
keyword/value - explicitly forces browser to use the OS’s default cursor
5
Q
cursor: “pointer”;
A
-
cursor
keyword/value - the cursor is a pointer (hand, pointing finger extended)
- indicates a link
6
Q
cursor: “crosshair”;
A
-
cursor
keyword/value - the cursor renders as a targeting crosshair
- when the cursor turns to a crosshair, it displays that “precise cursors” have been enabled
- (some users prefer this setting when they’re working in very fine detail.)
7
Q
cursor: “move”;
A
-
cursor
keyword/value - cursor renders as a 4-way arrow (pointing north south, east, and west)
- cursor indicates something is to be moved
8
Q
cursor: “text”;
A
-
cursor
keyword/value - cursor renders typically as a blinking vertical line
- a computer screen indicator showing the current position for entering or editing text
- its position determines where text will be inserted or modified
9
Q
cursor: “wait”;
A
-
cursor
keyword/value - cursor renders generally displayed by an hourglass or a watch, by itself
- this style cursor indicates that the program is busy, and the user can’t interact with the interface until the current task has completed
10
Q
cursor: “progress”;
A
-
cursor
keyword/value - the cursor renders generally as a slightly smaller arrow cursor coupled with and to the left of a slightly smaller hourglass
- this style cursor indicates that the program is busy often with multiple tasks
- the program is busy in the background, but the user can still interact with the interface and proceed without delay
11
Q
cursor: “help”;
A
-
cursor
keyword/value - cursor renders typically as a slightly smaller arrow cursor coupled with and to the left of a question mark about the same size as the arrow
- this cursor indicates that help or help information is available where it is hovering
12
Q
cursor: “…-resize”;
A
- cursor keyword/value
- cursor renders typically as a bi-directional arrow (single line with arrows on either end pointing in opposite directions): horizontal, vertical, or diagonal
- indicates some edge(s) is(are) to be moved
- Ex. the se-resize cursor is used when the movement starts from the south-east corner of the box (movement potentially changes the position of the south edge as well as the east edge at the same time).
13
Q
cursor: (image);
A
-
cursor
value: url(path); - multiple images may be specified in a comma-separated list
- multiple images list should always end a regular cursor keyword as its alternate
14
Q
:focus
A
- pseudo-class
- used to apply styling to the element with current focus in a document
- focus: the state of an interactive component when it is selected by the user (typically by a mouse click or tab key press) and is ready to be activated.
- this is used to apply styling to the element with current focus in the document (in recognition of the user selection).
- styling is removed when the focus shifts
- especially useful with lengthy forms to identify progress
- only relates to that which can receive keyboard input or be somehow activated
15
Q
“rollover” effect
A
- typically, rollover will highlight the selected element by changing it to become more prominent
- it can change its content color, background color, etc.
- For slower connections,The rollover style may simply use a portion of the previous focus style