index.css

PHOTO EMBED

Tue Mar 12 2024 07:13:50 GMT+0000 (Coordinated Universal Time)

Saved by @fazmi322

@tailwind base;
@tailwind components;
@tailwind utilities;

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 16px;
}

/* when modal open should overflow hidden for body */
body.modal-open {
  overflow: hidden;
}


input[type="radio"] {
  position: relative;
  appearance: none;
  background-color: #fff;
  margin: 0;
  font: 16px;
  color: white;
  width: 1em;
  height: 1em;
  border: 0.5px solid darkgray;
  border-radius: 50%;
  
}
input[type="radio"]:checked:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: 50%;
  border-radius: 50%;
  background-color: darkcyan;
}

@layer components {
  .max-container {
    max-width: 1440px;
    margin: 0 auto;
  }
  .modal-section{
    @apply fixed inset-0 bg-black bg-opacity-60 flex justify-center items-center z-50 overflow-y-auto
  }
  .modal-box{
    @apply bg-white relative  translate-y-[40%] lg:translate-y-1/3 p-4 sm:p-8 w-11/12 lg:w-[60%] rounded-lg flex flex-col gap-6;
  }
}


content_copyCOPY