• CSS tips


    Knowledge point 1: Transform: translate (- 50%, – 50%) scale (1.5) In the state of position: fixed, set the transform to – 50% horizontally and vertically, and both top and left are 0Scale (1.5) is the current box from 1 to 1.5. It is used for special effects Knowledge point 2: pointer events: None To […]

  • CSS: the fun of focus within


    I believe some people have seen this picture of station B entering the password to cover their eyesHere we play with: focus within The layout is like thisThere is a CTN outside that can be ignored, just a fixed position in the middleThe image of “Suo” in xpassword is hidden before clickingThe “R6m” after xpassword […]