Skip to content

Commit 19c2232

Browse files
committed
slider styles removed from setup
1 parent f2eee3d commit 19c2232

1 file changed

Lines changed: 3 additions & 30 deletions

File tree

16-ES6-slider/setup/styles.css

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Fonts
44
===============
55
*/
6-
@import url("https://fonts.googleapis.com/css?family=Open+Sans|Roboto:400,700&display=swap");
6+
@import url('https://fonts.googleapis.com/css?family=Open+Sans|Roboto:400,700&display=swap');
77

88
/*
99
===============
@@ -43,8 +43,8 @@ Variables
4343
--clr-green-dark: hsl(125, 67%, 44%);
4444
--clr-green-light: hsl(125, 71%, 66%);
4545
--clr-black: #222;
46-
--ff-primary: "Roboto", sans-serif;
47-
--ff-secondary: "Open Sans", sans-serif;
46+
--ff-primary: 'Roboto', sans-serif;
47+
--ff-secondary: 'Open Sans', sans-serif;
4848
--transition: all 0.3s linear;
4949
--spacing: 0.1rem;
5050
--radius: 0.25rem;
@@ -246,30 +246,3 @@ h4 {
246246
}
247247

248248
/* MORE CSS FOR JS */
249-
250-
.slide-container {
251-
display: flex;
252-
position: relative;
253-
height: 450px;
254-
overflow: hidden;
255-
}
256-
257-
.slide {
258-
position: absolute;
259-
top: 0;
260-
left: 0;
261-
width: 100%;
262-
height: 100%;
263-
transition: all 0.3s ease-in-out;
264-
opacity: 0;
265-
}
266-
.slide.active {
267-
opacity: 1;
268-
transform: translateX(0);
269-
}
270-
.slide.next {
271-
transform: translateX(100%);
272-
}
273-
.slide.last {
274-
transform: translateX(-100%);
275-
}

0 commit comments

Comments
 (0)