# Dual Product Cards Category: showcase Description: Features two products side-by-side in card format, each with an image, description, and call-to-action. ## 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" space="m-b:medium tw-lg:m-x:giant tw-lg:m-b:large"> <div layout="col-span:1"> <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">Brand</div> </div> <div> <h1 space="m-b:small tw-lg:m-b:medium" visual="text-size:huge font:tw-bold capitalize tw-lg:text-size:mega">Product that we proud of</h1> </div> <div layout="flex items:center"> <p space="w:[100%]" visual="text:left text-size:base font:tw-semibold tw-lg:text-size:huge">Here’s what we have to complete our ecosystem</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 bottom:none left:none" space="w:[100%] p:medium tw-lg:p:large"> <h1 space="m-b:small" visual="text-size:huge font:tw-bold tw-lg:text-size:mount">SenangStart</h1> <p space="m-b:small" visual="tw-lg:text-size:large">A website rebranding + Corporate photography to bring you the best</p> <p space="m-b:medium" visual="text-size:small tw-lg:text-size:base">Product Price</p> <a href="" layout="flex items:center justify:center" space="h:large max-w:[max-content] p-x:medium tw-lg:h:big tw-lg:p-x:medium-3x" visual="rounded:medium bg:blue-600 text-size:small text:white tw-lg:text-size:base"> Learn more </a> </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 bottom:none left:none" space="w:[100%] p:medium tw-lg:p:large"> <h1 space="m-b:small" visual="text-size:huge font:tw-bold tw-lg:text-size:mount">Product Name</h1> <p space="m-b:small" visual="tw-lg:text-size:large">Content can be used to explain the glimpse idea or to catch in seconds viewer eye</p> <p space="m-b:medium" visual="text-size:small tw-lg:text-size:base">Product Price</p> <a href="" layout="flex items:center justify:center" space="h:large max-w:[max-content] p-x:medium tw-lg:h:big tw-lg:p-x:medium-3x" visual="rounded:medium bg:blue-600 text-size:small text:white tw-lg:text-size:base"> Learn more </a> </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:mx-24 lg:mb-8"> <div class="col-span-1"> <div class="mb-2 max-w-max rounded-md border-2 border-blue-600 px-2 font-bold text-blue-600 lg:mb-4">Brand</div> </div> <div> <h1 class="mb-2 text-2xl font-bold capitalize lg:mb-4 lg:text-6xl">Product that we proud of</h1> </div> <div class="flex items-center"> <p class="w-full text-left text-base font-semibold lg:text-2xl">Here’s what we have to complete our ecosystem</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 bottom-0 left-0 w-full p-4 lg:p-8"> <h1 class="mb-2 text-2xl font-bold lg:text-5xl">SenangStart</h1> <p class="mb-2 lg:text-lg">A website rebranding + Corporate photography to bring you the best</p> <p class="mb-4 text-sm lg:text-base">Product Price</p> <a href="" class="flex h-8 max-w-max items-center justify-center rounded-lg bg-blue-600 px-4 text-sm text-white lg:h-12 lg:px-6 lg:text-base"> Learn more </a> </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 bottom-0 left-0 w-full p-4 lg:p-8"> <h1 class="mb-2 text-2xl font-bold lg:text-5xl">Product Name</h1> <p class="mb-2 lg:text-lg">Content can be used to explain the glimpse idea or to catch in seconds viewer eye</p> <p class="mb-4 text-sm lg:text-base">Product Price</p> <a href="" class="flex h-8 max-w-max items-center justify-center rounded-lg bg-blue-600 px-4 text-sm text-white lg:h-12 lg:px-6 lg:text-base"> Learn more </a> </div> </div> </div> </section> ```