Skip to content

Instantly share code, notes, and snippets.

View valencia12's full-sized avatar
🏠
Working from home

Jorge Valencia valencia12

🏠
Working from home
  • Stefanini LATAM
View GitHub Profile
@valencia12
valencia12 / variables.css
Created October 2, 2021 23:26 — forked from DanielCeron-dc/variables.css
css-variables
:root {
--primary: #36393f;
--secondary: mediumseagreen;
--tertiary: rgb(32,34,37);
--quaternary: #292b2f;
--quinary: #393d42;
--danger: #ff0000;
--danger-hover: #960000;
--warning: #ff9f00;
--warning-hover: #b46f00;
@valencia12
valencia12 / body.css
Created October 2, 2021 23:25 — forked from DanielCeron-dc/body.css
body-react
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@valencia12
valencia12 / Navbar.tsx
Created October 2, 2021 23:25 — forked from DanielCeron-dc/Navbar.module.css
Navbar for react app
import React, { CSSProperties } from 'react';
const style: CSSProperties = {
backgroundColor: 'var(--secondary)',
height: 50,
width: '100%',
display: 'flex',
position: 'fixed',
justifyContent: 'flex-end',
alignItems: 'center',
@valencia12
valencia12 / Navbar.tsx
Created October 2, 2021 23:24 — forked from DanielCeron-dc/Navbar.tsx
Navbar on react with sticky
import React, { CSSProperties } from 'react';
const style: CSSProperties = {
backgroundColor: 'var(--secondary)',
height: 50,
width: '100%',
display: 'flex',
position: 'sticky',
top: 0,
left: 0,