JSFiddle - React, Tailwind, and code Playground

by ThomasKerHypnotherapy

HTML

<div class="card">
  <img src="https://www.thomaskerhypnotherapy.com/wp-content/uploads/2024/06/logo.png" alt="Thomas Ker Hypnotherapy Logo" class="logo">

  <h1>Thomas Ker Hypnotherapy</h1>

  <p>
    “Thomas Ker Hypnotherapy” offers expert clinical hypnotherapy services, specializing in 
    <strong>hypnotherapy near me</strong>, for anxiety, for weight loss, to quit smoking, for insomnia, 
    for stress & depression, and online hypnotherapy sessions. Learn does hypnotherapy work and get 
    hypnotherapy training & certification today.
  </p>

  <a href="https://www.thomaskerhypnotherapy.com" target="_blank">
    <button>Visit Website</button>
  </a>
</div>

CSS

body {
  background: #eaf4f7;
  font-family: "Poppins", system-ui, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.card {
  background: #ffffff;
  width: 420px;
  padding: 40px 35px;
  border-radius: 18px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}

.logo {
  width: 120px;
  margin-bottom: 20px;
}

h1 {
  color: #1a3851;
  font-size: 1.7rem;
  margin-bottom: 15px;
}

p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 25px;
}

button {
  background: #27ae60;
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #219150;
}