dsfoisadfje

Untitled

Nov 12th, 2024 (edited)
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import React from "react";
  2.  
  3. function Card() {
  4.   return (
  5.     <div className="p-4">
  6.       {/* Card Container with a Gradient Border */}
  7.       <div className="relative h-full w-fit rounded-2xl border-2 border-transparent bg-gradient-to-br from-pastelblue to-pastelgreen p-1 shadow-lg transition duration-300 hover:shadow-2xl">
  8.         {/* Inner Box */}
  9.         <div className="h-full w-full rounded-2xl bg-white p-4 transition duration-300 hover:scale-105">
  10.           <h1 className="poppins-semibold text-xl text-darkblue">
  11.             Alan Roybal
  12.           </h1>
  13.         </div>
  14.       </div>
  15.     </div>
  16.   );
  17. }
  18.  
  19. export default Card;
  20.  
Advertisement
Add Comment
Please, Sign In to add comment