Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .custom_cat_sec {
- width: 100%;
- height: 100%;
- display: grid;
- gap: 20px;
- padding: 10px 30px;
- margin-bottom: 0;
- justify-content: center;
- grid-auto-flow:column;
- overflow-x:auto;
- scroll-snap-type: x mandatory;
- scroll-padding:30px;
- scroll-behavior: smooth;
- }
- .custom_cat_sec::-webkit-scrollbar{
- display:none;
- }
- .custom_grids{
- padding: 20px 0;
- scroll-snap-align:start;
- -webkit-tap-highlight-color: transparent;
- }
- .custom_grids p{
- text-align: center;
- font-size: clamp(90%,2.5vw,100%);
- word-break: normal;
- margin-top: 0.8rem;
- line-height: 1.2em;
- width: var(--img-width);
- height: auto;
- }
- .collage_Images {
- border-radius: var(--img-radius);
- width: var(--img-width);
- aspect-ratio: 1;
- }
- .objfitCover{
- object-fit: var(--img-fit) !important;
- }
- .custom_grids:hover .collage_Images{
- transform: scale(1.04) translateY(-1px);
- box-shadow: rgba(17, 17, 26, 0.1) 0px 2px 8px,
- rgba(17, 17, 26, 0.1) 0px 4px 12px,
- rgba(17, 17, 26, 0.1) 0px 8px 23px;
- border: 2px solid white;
- border-radius: var(--img-radius);
- transition: transform 0.2s ease;
- cursor: pointer;
- }
- @media screen and (max-width: 580px) {
- .custom_cat_sec {
- max-width: max-content;
- padding: 5px 20px;
- gap: 10px;
- justify-content: var(--content-align-mo);
- }
- }
- .collage_Title,.collage_Description{
- margin: 1% 0;
- text-align: center;
- line-height: 1em;
- padding: 0 2rem;
- }
- .collage_Description{
- padding: 0 1em 1em;
- }
- .image_outline{
- border: var(--img-border) solid var(--border-color);
- }
Advertisement
Add Comment
Please, Sign In to add comment