# Offer Image Grid Category: showcase Description: Displays multiple offers or services in a grid of images, each with a concise descriptive overlay. ## Implementation Context - **Primary**: Use **SenangStart CSS** for the implementation. - **Reference**: Tailwind CSS is provided for stylistic context only. ## SenangStart CSS Usage To use SenangStart CSS, simply include the script in your HTML ``: ```html My App

Hello SenangStart!

Zero config, instant styling.

``` **Documentation**: [Getting Started Guide](https://bookklik-technologies.github.io/senangstart-css/guide/getting-started.html) ## SenangStart CSS Code ```html <section layout="container" space="m-x:auto m-y:large p-x:medium-3x tw-lg:m-y:big-3x tw-lg:p-x:big-3x"> <div layout="grid grid-cols:1 tw-lg:grid-cols:2" space="m-b:medium tw-lg:m-b:large"> <div layout="col-span:1 tw-lg:col-span:2"> <div space="m-b:small max-w:[max-content] p-x:small tw-lg:m-b:medium" visual="rounded:small border-w:regular border:blue-600 font:tw-bold text:blue-600">Offer</div> </div> <div> <h1 space="m-b:small tw-lg:m-b:none" visual="text-size:huge font:tw-bold capitalize tw-lg:text-size:mega">What we offer</h1> </div> <div layout="flex items:center"> <p space="w:[100%]" visual="text:left text-size:base font:tw-semibold tw-lg:text:right tw-lg:text-size:huge">Our latest updates and what is happening in the organisation</p> </div> </div> <div layout="grid grid-cols:1 tw-lg:grid-cols:3" space="g:medium"> <div layout="relative overflow:hidden" visual="rounded:medium bg:gray-200" style="padding-top: 100%"> <img src="https://placehold.co/400x400" layout="absolute top:none" space="w:[100%]" /> <div layout="absolute bottom:none left:none" space="w:[100%] p:medium"> <p visual="text-size:base font:tw-semibold tw-lg:text-size:huge">Card description. Flexible components.</p> </div> </div> <div layout="relative overflow:hidden" visual="rounded:medium bg:gray-200" style="padding-top: 100%"> <img src="https://placehold.co/400x400" layout="absolute top:none" space="w:[100%]" /> <div layout="absolute bottom:none left:none" space="w:[100%] p:medium"> <p visual="text-size:base font:tw-semibold tw-lg:text-size:huge">Card description. Flexible components.</p> </div> </div> <div layout="relative overflow:hidden" visual="rounded:medium bg:gray-200" style="padding-top: 100%"> <img src="https://placehold.co/400x400" layout="absolute top:none" space="w:[100%]" /> <div layout="absolute bottom:none left:none" space="w:[100%] p:medium"> <p visual="text-size:base font:tw-semibold tw-lg:text-size:huge">Card description. Flexible components.</p> </div> </div> </div> </section> ``` ## Tailwind CSS Code ```html <section class="container mx-auto my-8 px-6 lg:my-16 lg:px-16"> <div class="mb-4 grid grid-cols-1 lg:mb-8 lg:grid-cols-2"> <div class="col-span-1 lg:col-span-2"> <div class="mb-2 max-w-max rounded-md border-2 border-blue-600 px-2 font-bold text-blue-600 lg:mb-4">Offer</div> </div> <div> <h1 class="mb-2 text-2xl font-bold capitalize lg:mb-0 lg:text-6xl">What we offer</h1> </div> <div class="flex items-center"> <p class="w-full text-left text-base font-semibold lg:text-right lg:text-2xl">Our latest updates and what is happening in the organisation</p> </div> </div> <div class="grid grid-cols-1 gap-4 lg:grid-cols-3"> <div class="relative overflow-hidden rounded-lg bg-gray-200" style="padding-top: 100%"> <img src="https://placehold.co/400x400" class="absolute top-0 w-full" /> <div class="absolute bottom-0 left-0 w-full p-4"> <p class="text-base font-semibold lg:text-2xl">Card description. Flexible components.</p> </div> </div> <div class="relative overflow-hidden rounded-lg bg-gray-200" style="padding-top: 100%"> <img src="https://placehold.co/400x400" class="absolute top-0 w-full" /> <div class="absolute bottom-0 left-0 w-full p-4"> <p class="text-base font-semibold lg:text-2xl">Card description. Flexible components.</p> </div> </div> <div class="relative overflow-hidden rounded-lg bg-gray-200" style="padding-top: 100%"> <img src="https://placehold.co/400x400" class="absolute top-0 w-full" /> <div class="absolute bottom-0 left-0 w-full p-4"> <p class="text-base font-semibold lg:text-2xl">Card description. Flexible components.</p> </div> </div> </div> </section> ```