Skip to content

Instantly share code, notes, and snippets.

@codigoconjuan
Created January 18, 2023 17:10
Show Gist options
  • Save codigoconjuan/11c6dc91066e93879723144087b410e8 to your computer and use it in GitHub Desktop.
Save codigoconjuan/11c6dc91066e93879723144087b410e8 to your computer and use it in GitHub Desktop.
CSS para React Modal
const customStyles = {
content: {
top: "50%",
left: "50%",
right: "auto",
bottom: "auto",
marginRight: "-50%",
transform: "translate(-50%, -50%)",
},
};
@hernanharco
Copy link

remil gracias

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment