# Dual Problem Cards Category: problem Description: Presents a pair of related problems or challenges in visually distinct cards, often with imagery and descriptions. ## 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">Problem</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">Internal Struggle</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:2" space="g:medium"> <div layout="relative overflow:hidden" 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"> <h1 space="m-b:small tw-lg:m-b:medium" visual="text-size:huge font:tw-bold capitalize tw-lg:text-size:mega">Headline Description</h1> <div visual="text-size:base tw-lg:text-size:big">Content can be used to explain the glimpse idea or to catch in seconds viewer eye.</div> </div> </div> <div layout="relative overflow:hidden" 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"> <h1 space="m-b:small tw-lg:m-b:medium" visual="text-size:huge font:tw-bold capitalize tw-lg:text-size:mega">Headline Description</h1> <div visual="text-size:base tw-lg:text-size:big">Content can be used to explain the glimpse idea or to catch in seconds viewer eye.</div> </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">Problem</div> </div> <div> <h1 class="mb-2 text-2xl font-bold capitalize lg:mb-0 lg:text-6xl">Internal Struggle</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-2"> <div class="relative overflow-hidden rounded-lg bg-gray-200" 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"> <h1 class="mb-2 text-2xl font-bold capitalize lg:mb-4 lg:text-6xl">Headline Description</h1> <div class="text-base lg:text-xl">Content can be used to explain the glimpse idea or to catch in seconds viewer eye.</div> </div> </div> <div class="relative overflow-hidden rounded-lg bg-gray-200" 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"> <h1 class="mb-2 text-2xl font-bold capitalize lg:mb-4 lg:text-6xl">Headline Description</h1> <div class="text-base lg:text-xl">Content can be used to explain the glimpse idea or to catch in seconds viewer eye.</div> </div> </div> </div> </section> ```