Skip to content

Instantly share code, notes, and snippets.

🍪
Focusing

Roger Albino rogeralbinoi

🍪
Focusing
Block or report user

Report or block rogeralbinoi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View exemplo-texto.css
p {
color: blue; /* altera a cor do texto */
font-size: 10px; /* altera o tamanho da fonte */
font-weight: bold; /* negrito */
font-style: italic; /* texto em itálico */
font-family: Arial; /* altera a familia da fonte */
}
View index.html
<html>
<head>
<meta charset="utf-8">
<title>Exemplo CSS externo</title>
<link href="css/meu-estilo.css" rel="stylesheet"/> <!-- referência para o arquivo css -->
</head>
<body>
<h1>Exemplo CSS Externo</h1>
</body>
View sanitize-string.js
const unwantedChars = /[^a-z0-9_-]/gi;
const defaultReplacement = '';
/* eslint-disable */
const replacements = {
' ': '-'
};
const regexReplacements = [
{char: 'a', pattern: /[\xE0-\xE6]/gi},
View gist:0340b0e3b450eaf96726895dcead4424
<!DOCTYPE html>
<html>
<head>
<title>Título da nossa página</title>
</head>
<body>
<h1>Título da nossa página</h1>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quia ratione ullam sapiente ipsa fuga? Aut quam, explicabo, magnam sed fugit repudiandae dolores sunt aspernatur, accusantium accusamus id iure animi eos.
</p>
You can’t perform that action at this time.