Skip to content

Instantly share code, notes, and snippets.

View hoseinhamzei's full-sized avatar
😉
Never Stop Learning

Mohamad Hosein Hamzenejad hoseinhamzei

😉
Never Stop Learning
View GitHub Profile
@hoseinhamzei
hoseinhamzei / gist:4d72b1175e5ceaf74efafcdf11bc7acf
Created December 24, 2024 17:39
Sass Responsive mobile first flexbox grid system
// Bootstrap-like Flex Grid System
$breakpoint-sm: 576px;
$breakpoint-md: 768px;
$breakpoint-lg: 992px;
$breakpoint-xl: 1200px;
$gutter: 16px;
// Mixin for columns
@mixin make-xy($class) {
@for $i from 1 through 12 {
@hoseinhamzei
hoseinhamzei / counter.js
Created March 24, 2019 07:13
Counter component with react hooks
import React,{useState} from 'react';
// create a stateless component
function Counter(){
// count state with usestate hook and setCount method
const [count, setCount] = useState(0);
// render component
return(
@hoseinhamzei
hoseinhamzei / traveler.svg
Created August 12, 2018 13:54
car live bg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hoseinhamzei
hoseinhamzei / index.html
Created July 7, 2018 14:40
SIMPLE PIG GAME
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="https://fonts.googleapis.com/css?family=Lato:100,300,600" rel="stylesheet" type="text/css">
<link href="http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css" rel="stylesheet" type="text/css">
<link type="text/css" rel="stylesheet" href="style.css">
<title>Pig Game</title>
</head>