# Bonus Content Grid Category: showcase Description: Showcases supplementary content, news, or updates in a visually engaging grid with a highlighted main piece. ## 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">News</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">Bonus</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 grid-rows:3 tw-lg:grid-cols:2 tw-lg:grid-rows:2" space="g:medium"> <div layout="relative row-span:1 overflow:hidden tw-lg:row-span:2" visual="rounded:medium bg:gray-200" style="padding-top: 100%"> <img src="https://placehold.co/600x600" layout="absolute top:none" space="w:[100%]" /> <div layout="absolute left:none top:none" space="w:[100%] p:medium tw-lg:p:large"> <p space="m-b:small tw-lg:m-b:medium" visual="font:tw-bold opacity:50">Points One</p> <h1 visual="text-size:base font:tw-semibold capitalize tw-lg:text-size:mega tw-lg:font:tw-bold">Headline Description</h1> </div> </div> <div layout="relative row-span:1 overflow:hidden" visual="rounded:medium bg:gray-200"> <img src="https://placehold.co/600x600" layout="absolute top:none tw-lg:hidden" space="w:[100%]" /> <img src="https://placehold.co/600x300" layout="absolute top:none hidden tw-lg:block" space="w:[100%]" /> <div layout="absolute left:none top:none" space="w:[100%] p:medium tw-lg:p:large"> <p space="m-b:small" visual="font:tw-bold opacity:50">Point Two</p> <p visual="text-size:base font:tw-semibold tw-lg:text-size:huge">Headline Description</p> </div> </div> <div layout="relative row-span:1 overflow:hidden" visual="rounded:medium bg:gray-200"> <img src="https://placehold.co/600x600" layout="absolute top:none tw-lg:hidden" space="w:[100%]" /> <img src="https://placehold.co/600x300" layout="absolute top:none hidden tw-lg:block" space="w:[100%]" /> <div layout="absolute left:none top:none" space="w:[100%] p:medium tw-lg:p:large"> <p space="m-b:small" visual="font:tw-bold opacity:50">Points Three</p> <p visual="text-size:base font:tw-semibold tw-lg:text-size:huge">Headline Description</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">News</div> </div> <div> <h1 class="mb-2 text-2xl font-bold capitalize lg:mb-0 lg:text-6xl">Bonus</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 grid-rows-3 gap-4 lg:grid-cols-2 lg:grid-rows-2"> <div class="relative row-span-1 overflow-hidden rounded-lg bg-gray-200 lg:row-span-2" style="padding-top: 100%"> <img src="https://placehold.co/600x600" class="absolute top-0 w-full" /> <div class="absolute left-0 top-0 w-full p-4 lg:p-8"> <p class="mb-2 font-bold opacity-50 lg:mb-4">Points One</p> <h1 class="text-base font-semibold capitalize lg:text-6xl lg:font-bold">Headline Description</h1> </div> </div> <div class="relative row-span-1 overflow-hidden rounded-lg bg-gray-200"> <img src="https://placehold.co/600x600" class="absolute top-0 w-full lg:hidden" /> <img src="https://placehold.co/600x300" class="absolute top-0 hidden w-full lg:block" /> <div class="absolute left-0 top-0 w-full p-4 lg:p-8"> <p class="mb-2 font-bold opacity-50">Point Two</p> <p class="text-base font-semibold lg:text-2xl">Headline Description</p> </div> </div> <div class="relative row-span-1 overflow-hidden rounded-lg bg-gray-200"> <img src="https://placehold.co/600x600" class="absolute top-0 w-full lg:hidden" /> <img src="https://placehold.co/600x300" class="absolute top-0 hidden w-full lg:block" /> <div class="absolute left-0 top-0 w-full p-4 lg:p-8"> <p class="mb-2 font-bold opacity-50">Points Three</p> <p class="text-base font-semibold lg:text-2xl">Headline Description</p> </div> </div> </div> </section> ```