Skip to content

Instantly share code, notes, and snippets.

View glauciodaniel's full-sized avatar
🎯
Focusing

Glaucio Daniel glauciodaniel

🎯
Focusing
View GitHub Profile
@glauciodaniel
glauciodaniel / html-languages.txt
Created May 17, 2017 21:17 — forked from JamieMason/html-languages.txt
HTML lang attribute / ISO language code reference / Culture names
CULTURE SPEC.CULTURE ENGLISH NAME
--------------------------------------------------------------
Invariant Language (Invariant Country)
af af-ZA Afrikaans
af-ZA af-ZA Afrikaans (South Africa)
ar ar-SA Arabic
ar-AE ar-AE Arabic (U.A.E.)
ar-BH ar-BH Arabic (Bahrain)
ar-DZ ar-DZ Arabic (Algeria)
ar-EG ar-EG Arabic (Egypt)
<form onSubmit={formContact} id="form-contact" className={css.hero_inputs}>
<div>
<div className={css.area}>
<img src="/profile.svg" alt="icon_name" />
<input type="text" id="nameContact" placeholder="Nome" />
</div>
<div className={css.area}>
<img src="/email.svg" alt="icon_email" />
<input type="email" required id="emailContact" placeholder="E-mail" />
</div>
@import '../../styles/variables.scss';
form {
margin-top: 100px;
}
.fifth_hero {
width: 100%;
padding: 100px 40px;
display: flex;
$rose: #f9c1c8;
$darkrose: #ffa3af;
$white: #FFF;
$flag-2: #646464;
$bg-light-blue: #3f7184;
$bg-gray: #949494;
$bg-light-gray: #f1f1f1;
$bg-light-black: #2f2e2e;
//media queries
version: "3"
services:
php-apache:
container_name: php8-apache
build: ./php8-apache
ports:
- "8000:80"
volumes:
- ./src:/var/www/html
- ./php8-apache/config/jit.ini:/usr/local/etc/php/conf.d/jit.ini
import React from "react";
export const Favorite = () => {
return (
<button>
<svg
role="img"
height="16"
width="16"
viewBox="0 0 16 16"
<script>
var tag = document.createElement('script');
const urlYouTube = document.querySelector("#url-youtube");
let h2, pos;
if(urlYouTube){
h2 = urlYouTube.querySelector("h2").innerHTML
if(h2.indexOf("https://youtu.be/") > -1){
h2 = h2.replace("https://youtu.be/");
}else {
h2 = h2.replace("https://www.youtu.com/watch?v=");
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Avanade - Contato</title>
<style>
h1,
h2 {
font-weight: 300;
<!-- Isto é um comentário em HTML -->
<!-- Elementos de linha vs Elementos de Bloco -->
<!--
a - hyperlink
span - formatação de texto
i - italic
strong - negrito com importância, ou seja destaque
b - negrito.
------------------------------
div - elemento de bloco sem importância semântica
html {
box-sizing: border-box;
font-size: 16px;
}
*,
*:before,
*:after {
box-sizing: inherit;
}