Skip to content

Instantly share code, notes, and snippets.

@luismcabrera
luismcabrera / Info
Last active January 3, 2022 04:03
Algunas imágenes para proyecto mern de práctica youtube
Imágenes
https://drive.google.com/drive/folders/1c-UIygBsCu-gezNriqYUEEWFnfnzmxn1?usp=sharing
Expresión regular para saber si el nombre de un archivo termina en .jpg, jpeg, gif, png
const isNameOfOneImageRegEx = /.(jpe?g|gif|png)$/i;
@luismcabrera
luismcabrera / index.css
Created August 30, 2020 23:46
The Dog API
* {
border: 0;
margin: 0;
padding: 0;
box-sizing: border-box;
color: #222;
}
body {
background-color: #eee;
@luismcabrera
luismcabrera / index.css
Last active August 30, 2020 16:46
React App - Breaking Bad API
* {
border: 0;
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: rgba(0,0,0,1);
background: -moz-linear-gradient(left, rgba(0,0,0,1) 0%, rgba(11,58,13,1) 23%, rgba(11,58,13,1) 33%, rgba(31,42,0,1) 70%, rgba(28,28,28,1) 86%, rgba(19,19,19,1) 100%);