A Pen by Gabriel Bertola Bocca on CodePen.
Created
November 15, 2017 16:24
-
-
Save digitalbocca/5edd8ded6b1f5d78e43707a1514e6ff4 to your computer and use it in GitHub Desktop.
Primeiro Teste
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(() => { | |
$('#btn-test').on('click', () => { | |
swal('Teste no CODEPEN', 'BOTÂO TESTE', 'success') | |
}) | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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