Skip to content

Instantly share code, notes, and snippets.

@evdama
Last active July 26, 2019 14:51
Show Gist options
  • Select an option

  • Save evdama/3f7f8cbf370c80107390d4072622a6d0 to your computer and use it in GitHub Desktop.

Select an option

Save evdama/3f7f8cbf370c80107390d4072622a6d0 to your computer and use it in GitHub Desktop.
use .scale-grow like this on e.g. hover: hover:scale-grow
h1 {
@apply text-2xl;
}
h2 {
@apply text-xl;
}
h3 {
@apply text-lg;
}
@screen md {
h1 {
@apply text-4xl;
}
h2 {
@apply text-2xl;
}
h3 {
@apply text-xl;
}
}
@variants focus, hover, active, responsive {
.rotate-minus-10 {
transform: rotate(-10deg);
}
.rotate-10 {
transform: rotate(10deg);
}
.rotate-minus-5 {
transform: rotate(-5deg);
}
.rotate-5 {
transform: rotate(5deg);
}
.scale-grow {
transform: scale(1.02)
}
.my-before {
p::before {
content: "«";
color: blue;
}
p::after {
content: "»";
color: red;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment