vertical-align: top | middle ; Vertical alignment: number; The value should be between 0 and 1, where 0 is completely transparent and 1 is completely opaque. Application Scenario: 1. 2. Set the vertical alignment of the table contents 1. Position: to place an element in a specified position. Coordinates: left: * px | right: * px; top:*px | bottom:*px;
1. Static Static location: The default location of an element. Fixed: move the position based on the browser window position:fixed; left:*px | right:*px; top:*px | bottom:*px; 【 答 案 】 主 题 1: Position :fixed; top:50%; Margin-top :- Half the height of the box; left:50%; Margin-left: - half the width of the box; Mode 2: Position: fixed; top:0; left:0; right:0; bottom:0; margin:auto; Absolute position: Based on the nearest superior element whose position is set to non-static. If neither exists, locate the fault based on the first screen of the browser. 5. Sticky positioning:Copy the code
2. Anchor grammar:
The region to jump to
Linked text
Opacity: number; The value should be between 0 and 1, with 0 being fully transparent and 1 completely opaque. [Value should be between 0 and 100, with 0 being fully transparent]
position: fixed | absolute | relative; <div id='id name '></div> <a href='#id name '></a> opacity filter:alpha(opacity= number) ie: number;Copy the code