Skip to content

Commit

Permalink
Added eslint-<disable|enable> to avoid false no-invalid-property
Browse files Browse the repository at this point in the history
…for transition props (eslint/css#40)
  • Loading branch information
adamlui committed Jan 12, 2025
1 parent 349e5fd commit 15e783f
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions widescreen/assets/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,20 @@ h1 {
color: white ;
}


.install-btn {
--transition-style: 0.2s ease all ;
color: black ;
font-family: baba-pro-bold, sans-serif ;
transition: var(--transition-style) ;
-webkit-transition: var(--transition-style) ; -moz-transition: var(--transition-style) ;
-o-transition: var(--transition-style) ; -ms-transition: var(--transition-style) ;
font-size: 1.3rem !important ;
padding: 12px 33px !important ;
margin: 0 !important ; border-radius: 0
margin: 0 !important ; border-radius: 0 ;

/* eslint-disable -- avoid false no-invalid-property positive https://github.com/eslint/css/issues/40 */
transition: var(--transition-style) ;
-webkit-transition: var(--transition-style) ; -moz-transition: var(--transition-style) ;
-o-transition: var(--transition-style) ; -ms-transition: var(--transition-style)
/* eslint-enable */
}

.chrome-btn {
Expand Down Expand Up @@ -104,11 +108,16 @@ h1 {
}

.featured-logos { padding: 13px }

.featured-logos a {
--transition-style: 0.05s ease all ;
text-decoration: none ;

/* eslint-disable -- avoid false no-invalid-property positive https://github.com/eslint/css/issues/40 */
transition: var(--transition-style) ;
-webkit-transition: var(--transition-style) ; -moz-transition: var(--transition-style) ;
-o-transition: var(--transition-style) ; -ms-transition: var(--transition-style)
/* eslint-enable */
}

.featured-logos a:hover { opacity:.75 }

0 comments on commit 15e783f

Please sign in to comment.