confirm()

The confirm() method is very similar to the alert() method, the difference is that in addition to a "Confirm" button, there is also a "Cancel" button on the dialog box.

 

A>B means to select all child B elements of A element
table>tbody>tr:hover   
//Give a pseudo element hover to the child element tr of the child element tbody of the table

   Difference Between Border and Outline  

 

 

  • 1.outline does not take up space, it will not add additional width or height, and border will increase the width and height of the box

    2.outline cannot be set up, down, left and right separately, while border can

    3.border can be applied to almost all tangible html elements, while outline is designed for elements such as links, form controls and ImageMap

    4. The effect of outline will automatically appear with the focus of the element, and the corresponding blur will automatically disappear.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326563946&siteId=291194637