Home > database >  How can i edit a background based on the h3 content inside a div?
How can i edit a background based on the h3 content inside a div?

Time:12-03

.package {
  border: var(--border);
  border-radius: var(--border-radius);
  background: var(--color-bg-900);
  padding: var(--spacing-grid) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.package h3 {
  font-size: 1rem;
  padding: 0 0 var(--spacing-xs) var(--spacing-grid);
}
<div class="package">
  <div class="package__info">
    <h3>Bl4ck           
  • Related