This file contains 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
const Masks = { | |
methods: { | |
maskCep() { | |
return "#####-###"; | |
}, | |
maskPhone() { | |
return "(##) #####-####"; | |
}, | |
maskNumber(len) { | |
if (len) { |
This file contains 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
const usuarios = [ | |
{ nome: "Carlos", tecnologias: ["HTML", "CSS"] }, | |
{ nome: "Jasmine", tecnologias: ["JavaScript", "CSS"] }, | |
{ nome: "Tuane", tecnologias: ["HTML", "Node.js"] } | |
]; | |
function listaUsuarios(users) { | |
for (let i = 0; i < users.length; i++) { | |
console.log(`${users[i].nome} trabalha com ${users[i].tecnologias}`); | |
} |
This file contains 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
* {box-sizing: border-box;} | |
::-webkit-input-placeholder {font-weight: normal;} | |
::-moz-placeholder {font-weight: normal;} | |
:-ms-input-placeholder {font-weight: normal;} | |
:-moz-placeholder {font-weight: normal;} | |
body{margin: 0;font-family: sans-serif;} | |
header{ | |
height: 45px; | |
background-color: #FFD400; | |
width: 100%; |
This file contains 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
{ | |
"workbench.colorTheme": "Cobalt2", | |
"terminal.integrated.fontSize": 14, | |
"workbench.iconTheme": "material-icon-theme", | |
"workbench.startupEditor": "newUntitledFile", | |
"editor.tabSize": 2, | |
"editor.fontSize": 14, | |
"editor.lineHeight": 24, | |
"editor.fontFamily": "Fira Code", | |
"editor.fontLigatures": true, |
This file contains 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
.thumbnail { | |
position: relative; | |
width: 200px; | |
height: 200px; | |
overflow: hidden; | |
} | |
*object-fit: cover; | |
.thumbnail img { |
This file contains 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
<?php | |
$args = array( | |
'post_type' => 'post', | |
'posts_per_page' => 100, | |
'orderby' => 'date', | |
'order' => 'DESC' | |
); | |
$loop = new WP_Query( $args ); | |
while ( $loop->have_posts() ): |
This file contains 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
.owl-next { | |
background: url(../img/seta.png) no-repeat center !important; | |
color: transparent !important; | |
height: 75px; | |
opacity: 0.9 !important; | |
} | |
OU ADICIONAR NO PROPRIO JS | |
jQuery(".equipe-owl").owlCarousel({ |
This file contains 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
<?php | |
$args = array ( | |
'parent' => 0, | |
); | |
$categories = get_categories($args); | |
foreach($categories as $category) { | |
echo '<li id="'. $category->slug .'" href="' . get_category_link($category->term_id) . '">' . $category->name . '</a></li>'; |
This file contains 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
<?php | |
$args = array( | |
'post_type' => 'post', | |
'posts_per_page' => 2, | |
'orderby' => 'rand', | |
); | |
$loop = new WP_Query( $args ); | |
while ( $loop->have_posts() ): | |
$loop->the_post(); |
This file contains 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
<div class="conteudo-rodape__item saude" style="background: url('<?= get_the_post_thumbnail_url(); ?>'); background-position: center center; background-size: cover;"> |