Skip to content

Instantly share code, notes, and snippets.

View khatrinitesh's full-sized avatar
🎯
Focusing

Nitesh Khatri khatrinitesh

🎯
Focusing
View GitHub Profile
@keeguon
keeguon / countries.json
Created April 5, 2012 11:11
A list of countries in JSON
[
{name: 'Afghanistan', code: 'AF'},
{name: 'Åland Islands', code: 'AX'},
{name: 'Albania', code: 'AL'},
{name: 'Algeria', code: 'DZ'},
{name: 'American Samoa', code: 'AS'},
{name: 'AndorrA', code: 'AD'},
{name: 'Angola', code: 'AO'},
{name: 'Anguilla', code: 'AI'},
{name: 'Antarctica', code: 'AQ'},
@andysolomon
andysolomon / sass.scss
Created May 15, 2013 22:57
sass mixins
// Mixins and examples
/* Responsive Breakpoints
========================================================================== */
@mixin breakpoint($point) {
@if $point == large {
@media (min-width: 64.375em) { @content; }
}
@else if $point == medium {
@media (min-width: 50em) { @content; }
@shazinahmed
shazinahmed / gist:5894181
Last active November 30, 2020 11:19
Google Places Autocomplete font size/style
/*
The div that holds all the lines
*/
.pac-container {
color: #d9d9d9;
}
/*
class for each line of the result
*/
@davfre
davfre / git_cheat-sheet.md
Last active September 9, 2026 13:34
git commandline cheat-sheet
@lrobeson
lrobeson / SassMeister-input.scss
Created February 7, 2014 00:15
Example of Sass mixins. Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.2)
// Compass (v1.0.0.alpha.17)
// ----
@mixin buttonstyle {
background: red;
border: 1px solid black;
color: #fff;
}
@AdamMarsden
AdamMarsden / sassas.md
Last active July 23, 2026 08:22
Sass Architecture Structure

Sass Architecture Structure

sass/
|
|– base/
|   |– _reset.scss       # Reset/normalize
|   |– _typography.scss  # Typography rules
|   ...                  # Etc…
|
@needim
needim / mediaqueries.css
Last active April 4, 2024 23:23
Device Specific CSS Media Queries Collection
/*
Based on:
1. http://stephen.io/mediaqueries
2. https://css-tricks.com/snippets/css/media-queries-for-standard-devices/
*/
/* iPhone X in portrait & landscape */
@media only screen
and (min-device-width : 375px)
and (max-device-width : 812px)
@cuongpx
cuongpx / Animate on scroll with wow.js.markdown
Created November 14, 2015 02:04
Animate on scroll with wow.js
@AminulBD
AminulBD / swiperinit.html
Last active September 4, 2021 08:53
Swiper Initialization with data attribute and Animate.css integrate
<div id="content-carousel" class="content-carousel-widget" data-carousel="swiper">
<!--
You can use: data-items="5" for total items display in single page
data-autoplay="true" or "false" for autoplay.
data-loop="true" or "false" for looping the carousel
data-effect="fade" or "cube" for slide changing effects
data-direction="horizontal" or "vertical" for sliding direction
data-initlal="3" for for first active slide
data-center="true" or "false" for centerize slider
-->
@thegitfather
thegitfather / vanilla-js-cheatsheet.md
Last active May 4, 2026 23:41
Vanilla JavaScript Quick Reference / Cheatsheet