Skip to content

Instantly share code, notes, and snippets.

@digitalbocca
Created November 15, 2017 16:24
Show Gist options
  • Save digitalbocca/5edd8ded6b1f5d78e43707a1514e6ff4 to your computer and use it in GitHub Desktop.
Save digitalbocca/5edd8ded6b1f5d78e43707a1514e6ff4 to your computer and use it in GitHub Desktop.
Primeiro Teste
doctype html
html(lang="pt-br")
head
meta(charset="UTF-8")
meta(name="viewport", content="width=device-width, initial-scale=1.0")
meta(http-equiv="X-UA-Compatible", content="ie=edge")
title Primeiro Teste
body
div.text-center
h1 CODEPEN Test
button.btn.btn-verde#btn-test Botão Teste
p Este é um pequeno teste para aprender as funcionalidades do CODEPEN.
h2 FONTES
p Neste teste estamos utilizando a fonte Titillim Web para os títulos e Raleway para o corpo da página.
$(document).ready(() => {
$('#btn-test').on('click', () => {
swal('Teste no CODEPEN', 'BOTÂO TESTE', 'success')
})
})
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/6.11.5/sweetalert2.min.js"></script>
body
background-color: #000
color: #f0f0f0
font-family: 'Raleway'
h1, h2, h3, h4, h5, h6
font-family: 'Titillium Web'
.btn
padding: .75rem
border-radius: .25rem
border: none
font-size: 1.2rem
font-family: 'Raleway'
cursor: pointer
// text-transform: uppercase
.btn-verde
color: #fff
background-color: #27ae60
.text-center
text-align: center
<link href="https://fonts.googleapis.com/css?family=Raleway|Titillium+Web" rel="stylesheet" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/6.11.5/sweetalert2.min.css" rel="stylesheet" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment