https://www.kikk.be/2017/en/home
http://www.espn.com/espn/feature/story/_/id/19742921/espn-body-issue-2017#!
import { useState } from 'react'; | |
import useValidation from './hooks/useValidation'; | |
import Joi from 'joi'; | |
const schema = Joi.object({ | |
email: Joi.string() | |
.email({ tlds: { allow: false } }) | |
.required(), | |
password: Joi.string().min(8).required(), | |
}); |
// Add on element with overflow | |
-webkit-mask-image: -webkit-radial-gradient(white, black); |
Sometimes you want to have a subdirectory on the master
branch be the root directory of a repository’s gh-pages
branch. Here's how to do it:
For the sake of this example, let’s pretend the subfolder containing your site is named dist
.
Remove the dist
directory from the project’s .gitignore
(or skip and force-add afterwards).
/** | |
* ECMA2015 | |
*/ | |
function convertHex(hexCode, opacity = 1){ | |
var hex = hexCode.replace('#', ''); | |
if (hex.length === 3) { | |
hex = hex[0] + hex[0] + hex[1] + hex[1] + hex[2] + hex[2]; | |
} |
Sometimes you want to have a subdirectory on the master
branch be the root directory of a repository’s gh-pages
branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master
branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist
.
Remove the dist
directory from the project’s .gitignore
file (it’s ignored by default by Yeoman).