Skip to content

Instantly share code, notes, and snippets.

View Vicentezapata's full-sized avatar
🎯
Focusing

Vicente Zapata Vicentezapata

🎯
Focusing
View GitHub Profile
@Vicentezapata
Vicentezapata / Banner.jsx
Created May 14, 2025 00:32
Componentes REACT
import { Box, Typography, Button } from '@mui/material';
const Banner = () => {
return (
<Box
sx={{
height: '60vh',
position: 'relative',
backgroundImage: 'url(/src/assets/banner.jpg)', // Reemplaza con la ruta correcta de tu imagen
backgroundSize: 'cover',
backgroundPosition: 'center',
@Vicentezapata
Vicentezapata / fullscreen-drag-slider-with-parallax.markdown
Created April 1, 2019 14:02
Fullscreen drag-slider with parallax

Fullscreen drag-slider with parallax

Sort of responsive. Tested in Chrome/FF/last IE, everywhere looks fine.

Source of inspiration - https://stupid-studio.com/ (their js is minified, so all code is mine, except some parts of svg, like viewBox/minHeight).

A Pen by Nikolay Talanov on CodePen.

License.