C

Last updated on

The clip-path property in CSS allows you to specify a specific region of an element to display, rather than showing the complete area. There used to be a clip property, but note that is deprecated. .clip-me { position: absolute; /* absolute or fixed positioning required */ /* deprecated version */ /* clip: rect(110px, 160px, 170px, 60px);

Continue reading →

Last updated on

The clear property is directly related to floats. If the element can fit horizontally in the space next to another element which is floated, it will. Unless you apply clear to that element in the same direction as the float. Then the element will move down below the floated element. Here’s a simple example of

Continue reading →