![]() |
VOOZH | about |
This type of background creates uniqueness on your webpage by avoiding regular rectangular sized background or header. The following header design will show your creativity. This design can be achieved in two ways:
Example: This example uses ::before and ::after selector on a div element to create a wave image for background.
Output:
The problem of using before and after is as we have to define their position in pixels thus as the screen height changes its shape changes and so it is not that proper as it seems. So, for that purpose we use SVG in CSS.
Example: This example uses SVG to design a wave image for background.
Output:
Example: This example uses SVG to design a wave image for background.
Output: