Tag:Pseudo element

  • On CSS pseudo element & the magical use of pseudo class


    CSS plays a very important role in a web page. In recent years, with the development of CSS, pseudo elements / pseudo classes have also been widely used: in the current performance is more and more valued, CSS pseudo elements / pseudo classes outside the document stream are worthy of the “king without crown”! The […]

  • What is BFC? CSS using pseudo elements to clear floating


    BFC concept: Block level formatting context is an independent rendering area, which isolates the elements inside BFC from the elements outside, so that the positioning of the elements inside and outside will not affect each other. Let’s first understand a noun: BFC (block formatting context), which is “block level formatting context” in Chinese. First of […]