Black Friday Sale! Save up to 50% off!

Vegetables and fruits CSS Template

The block presents the heading “Most vegetables are very healthy” above one supporting paragraph and a visible “learn more” button. Its text sits in a rounded lime-green card placed over a full-width food photograph, creating a clear contrast between the dark image and bright content area. Bold condensed heading text, smaller dark copy, and a black rounded button establish the main visual hierarchy. A Freepik attribution link is also included within the section, keeping the image credit alongside the food-focused message.
ID : 2228447   |   Category : Text On Image, Food & Restaurant

Lime Card and Food Photography Shape the Section’s CSS

The rounded lime-green card is the strongest styling anchor in this block. It separates the heading, supporting paragraph, and “learn more” button from the dark food photograph while keeping the text visibly connected to the image behind it. The contrast between the bright card and darker background gives the message a defined reading area without removing the photograph from the composition.

Several styling relationships can be refined as one local visual system. The bold condensed heading establishes emphasis, the smaller dark paragraph supplies secondary information, and the black rounded button provides a compact action accent. Rounded corners appear in the card and button, creating a repeated shape language rather than treating each element as unrelated. Spacing inside the card also controls how comfortably the heading and paragraph sit above the action.

In a CSS Template context, these properties belong to this food-content section: card color, corner radius, text contrast, button treatment, alignment, and the image’s visual dominance. They can be adjusted while preserving the same healthy-food message and full-width image relationship. The Freepik attribution remains part of the content arrangement, so styling should keep it readable without competing with the heading or button.

Customize with Nicepage

Open this ready-made template in the CSS Template Builder and customize it visually in the Nicepage editor. Replace demo content, edit page sections, and adapt the design to your project without rebuilding the template from scratch.

Edit Template Offline

1. Download and Install the Nicepage application for Windows and Mac. Or WordPress and Joomla plugins from the download page
2. Create a new page or select existing
3. Click Add new block, search for id 2228447 and click enter

Edit Template Online

Run Online Builder to edit this template on our hosting

Create Awesome Websites

WordPress Plugin WordPress
Windows Application Windows App
Joomla Plugin Joomla
Mac OS Application Mac OS App
HTML5 HTML5
Online Builder Online

Free Nicepage Builder

15,000+ Templates
Easy Drag-n-Drop
No Coding
Mobile-Friendly

Keywords


Customize This Block With CSS

Refine the Section Styling

Customize the visual appearance of the block in the Nicepage editor by adjusting typography, spacing, backgrounds, borders, colors, alignment, sizing, and other style properties. Because the block remains one section inside a larger page, styling can focus on the elements that define this particular content area without requiring the rest of the page to use the same treatment.

Add Targeted Custom CSS When Needed

For styling requirements beyond the standard editor controls, use Custom CSS to add targeted rules. CSS can be applied at different scopes, including individual elements, pages, or the website, while CSS classes can connect custom rules with selected elements. This makes it possible to extend the styling of a specific block while keeping its content structure intact.

Review the Block Across Screen Sizes

When spacing, alignment, image proportions, grids, or repeated items change significantly between desktop and mobile layouts, use Responsive Modes to review the same block at different screen widths. The goal is to preserve the visual hierarchy of the section while adapting its styling to the surrounding page.

This workflow keeps the block focused on its original content purpose while giving you visual control over how that section appears within the final page.

Custom CSS and element styling options in the Nicepage editor

More from Food & Restaurant CSS Templates