aeeble aeeble

Login

Add a subtle SVG background to a page with Hero Patterns

A small hiking club wants a map-like texture behind the title of its events page. Hero Patterns is Steve Schoger’s collection of repeatable SVG backgrounds. It can style a pattern in the browser and provide CSS for a webpage. Start with one section so you can judge the pattern with the real heading and buttons in place.

Choose and style one pattern

Find Topography in the gallery and open Use Pattern. The appearance controls let you set foreground color, background color and foreground opacity. Try a low-opacity foreground so the winding lines read as texture. Copy the Generated CSS code to the rule for the title section of a draft page. If your design workflow needs the graphic on its own, the selection panel also offers an unstyled SVG download.

Inspect the background where it will be used

Open the draft at a narrow and a wide width. Read the title over the busiest part of the pattern and check that the primary button remains easy to distinguish. If the lines compete with the text, lower their opacity or move the pattern to a part of the section behind no text. A solid background color also gives the section a readable base while the pattern loads.

Hero Patterns links to Creative Commons Attribution 4.0. When sharing the finished page, give credit to Steve Schoger and Hero Patterns, link the license and indicate changes such as recoloring.

Images
Ratings
Related Lists