Skip to content

Instantly share code, notes, and snippets.

View CHINOBv's full-sized avatar
😀
Arriba el Open Soruce

David Israel CHINOBv

😀
Arriba el Open Soruce
  • México, NL
View GitHub Profile
@CHINOBv
CHINOBv / _search.scss
Created November 25, 2020 10:00
Button Search with Animation
.search {
position: absolute;
padding: 5px;
& input {
display: inline-block;
border: 1px solid silver;
font-size: 18px;
outline: none;
background-color: #f1f1f1;
border-radius: 30px;
@CHINOBv
CHINOBv / Navbar Responsive with SCSS
Last active November 25, 2020 09:34
Agregar las clases y solo alternar la clase show en la clase nav con el evento click en x elemento, los colores se cambian desde la variable
import { useState } from "react";
const Header = () => {
const [showMenu, setShowMenu] = useState(false);
return (
<div>
<nav className="nav">
<p className="nav-title">PixaHi</p>
<ul className={`nav-list ${showMenu ? "show" : ""}`}>
<li>
@CHINOBv
CHINOBv / .vimrc_V0.1
Last active July 29, 2020 17:36
My configuration for NeoVim
set number
set title
set mouse=a
set numberwidth=1
set clipboard=unnamed
syntax enable
set showcmd
set ruler
set encoding=utf8
set showmatch