mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Add outline button responsive style
This commit is contained in:
@@ -26,6 +26,10 @@ const Btn = styled.button<Props>`
|
|||||||
transition: color 250ms ease-in-out;
|
transition: color 250ms ease-in-out;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
padding: ${({ variant }) => (variant === 'outline' ? '.5rem .75rem' : '0rem')};
|
||||||
|
}
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
Reference in New Issue
Block a user