I came across this animated coursel on Codepen that I really liked and wanted to integrate it into a basic create-react-app website. After moving everything over, including the compiled SCSS into CSS, I noticed that only one element was visible, possibly stacked above all the others. Something seems to have broken, but I can't pinpoint where the issue lies. Any help in resolving this would be greatly appreciated!
Codepen: https://codepen.io/aybukeceylan/pen/RwrRPoO
Here is a snippet of my React Component:
import React from "react";
import "./css/styles.css";
function App() {
return (
<div className="container">
{/* Rest of the component code goes here */}
</div>
);
}
export default App;
Below is the CSS file used for styling:
@import url("https://fonts.googleapis.com/css?family=DM+Sans:400,500,700&display=swap");
* {
/* CSS styling properties */
}
/* More CSS styles follow (truncated for brevity) */
/*# sourceMappingURL=HeroSection.css.map */