# Hero Split Overlay
Category: hero
Description: Creates a dynamic hero with a split layout, featuring an image on one side and an overlapping content panel.
## 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="relative tw-lg:container" space="m-x:auto m-b:big-3x">
<div layout="grid overflow:hidden tw-lg:grid-cols:2" space="w:[100%]" visual="shadow:medium rounded:small tw-lg:rounded:medium">
<div layout="relative flex items:center" space="min-h:[100vh] tw-lg:min-h:[min-content]" visual="bg:gray-100">
<img src="https://placehold.co/600x500/2563EB/FFFFFF" layout="absolute left:none top:none object:cover" space="h:[100%] w:[100%]" />
<div space="w:[100%] p-x:medium-3x p-b:big-3x p-t:vast tw-lg:p-x:big-3x tw-lg:p-y:vast" class="z-10">
<div layout="flex col items:center tw-lg:items:start" space="p:medium-3x tw-lg:m-r:[-vast-9x]" visual="rounded:medium bg:white" class="bg-opacity-50 backdrop-blur-md">
<img src="https://placehold.co/192x192" layout="tw-lg:hidden" space="m-b:medium w:vast-3x" visual="rounded:round shadow:big" />
<p space="m-b:small" visual="text:left font:tw-semibold text:gray-800 tw-lg:text-size:large">Hello & Welcome!</p>
<h1 space="m-b:medium" visual="text:left text-size:giant font:tw-bold tw-lg:text-size:giga">A.Hakim Noor</h1>
<p space="m-b:medium-3x tw-lg:m-b:large" visual="text:left text-size:huge font:tw-semibold tw-lg:text-size:giant">A mechanical engineer by training, software engineer by trade.</p>
<div layout="flex col tw-lg:row" space="w:[100%]">
<a href="#works" layout="flex items:center justify:center" space="h:big-2x w:[100%] p-x:large tw-lg:max-w:[max-content]" visual="rounded:medium bg:blue-600 text-size:large font:tw-semibold text:white hover:opacity:80">My Works</a>
<div space="h:medium w:[100%] tw-lg:w:medium"></div>
<a href="#experiences" layout="flex items:center justify:center" space="h:big-2x w:[100%] p-x:large tw-lg:max-w:[max-content]" visual="rounded:medium border-w:regular border:neutral-800 text-size:large font:tw-semibold text:neutral-800 hover:opacity:80">Experiences</a>
</div>
</div>
</div>
</div>
<div layout="relative hidden tw-lg:block" space="p-t:vast-9x tw-lg:p:none" visual="bg:gray-200"><img src="https://placehold.co/600x500" layout="absolute left:none top:none object:cover" space="h:[100%] w:[100%]" /></div>
</div>
</section>
```
## Tailwind CSS Code
```html
<section class="relative mx-auto mb-16 lg:container">
<div class="shadow-neumorphic grid w-full overflow-hidden rounded lg:grid-cols-2 lg:rounded-lg">
<div class="relative flex min-h-screen items-center bg-gray-100 lg:min-h-min">
<img src="https://placehold.co/600x500/2563EB/FFFFFF" class="absolute left-0 top-0 h-full w-full object-cover" />
<div class="z-10 w-full px-6 pb-16 pt-40 lg:px-16 lg:py-40">
<div class="flex flex-col items-center rounded-xl bg-white bg-opacity-50 p-6 backdrop-blur-md lg:-mr-80 lg:items-start">
<img src="https://placehold.co/192x192" class="mb-4 w-48 rounded-full shadow-lg lg:hidden" />
<p class="mb-2 text-left font-semibold text-gray-800 lg:text-lg">Hello & Welcome!</p>
<h1 class="mb-4 text-left text-4xl font-bold lg:text-7xl">A.Hakim Noor</h1>
<p class="mb-6 text-left text-2xl font-semibold lg:mb-8 lg:text-4xl">A mechanical engineer by training, software engineer by trade.</p>
<div class="flex w-full flex-col lg:flex-row">
<a href="#works" class="flex h-14 w-full items-center justify-center rounded-lg bg-blue-600 px-8 text-lg font-semibold text-white hover:opacity-80 lg:max-w-max">My Works</a>
<div class="h-4 w-full lg:w-4"></div>
<a href="#experiences" class="flex h-14 w-full items-center justify-center rounded-lg border-2 border-neutral-800 px-8 text-lg font-semibold text-neutral-800 hover:opacity-80 lg:max-w-max">Experiences</a>
</div>
</div>
</div>
</div>
<div class="relative hidden bg-gray-200 pt-80 lg:block lg:p-0"><img src="https://placehold.co/600x500" class="absolute left-0 top-0 h-full w-full object-cover" /></div>
</div>
</section>
```