Skip to content

Instantly share code, notes, and snippets.

View jitendravyas's full-sized avatar

Jitendra Vyas jitendravyas

View GitHub Profile
@jitendravyas
jitendravyas / SassMeister-input.scss
Created December 30, 2012 04:36
Generated by SassMeister.com, the Sass playground.
// Sass v3.2.3
// Compass v0.12.2
@import "compass";
#someid {
$experimental-support-for-svg: true;
@include background-image(linear-gradient(left, #2ac363, #cd8c14, #9c4cc2));
width: 80px;
height: 80px; }
@jitendravyas
jitendravyas / SassMeister-input.scss
Created February 6, 2013 14:03
Generated by SassMeister.com, the Sass playground.
// Sass v3.2.5
*html .top_gray_overlay {
top:expression(eval(document.compatMode &&
document.compatMode=='CSS1Compat') ?
documentElement.scrollTop : document.body.scrollTop);}
*html .extra_popup { position:absolute; top:expression(eval(document.compatMode &&
document.compatMode=='CSS1Compat') ?
documentElement.scrollTop : document.body.scrollTop+33);
@jitendravyas
jitendravyas / SassMeister-input.scss
Created February 15, 2013 12:14
Generated by SassMeister.com, the Sass playground.
// Sass v3.2.7
//How can I get hover position without calculating it manually?
//My aim was to create a mixin to save time by not repeating the code for hover
//and value of hover
@mixin spriting-position($offset-x, $offset-y) {
background-position:$offset-x $offset-y;
&:hover{
@jitendravyas
jitendravyas / SassMeister-input.scss
Created June 7, 2013 12:50
Generated by SassMeister.com, the Sass playground.
// ---
// Compass (v0.13.alpha.4)
// Sass (v3.2.9)
// ---
.with-compass {
@include background(image-url("foo.png"),
linear-gradient(top left, #333, #0c0));
}
@jitendravyas
jitendravyas / hosts
Created July 15, 2013 16:25
This is a default HOSTS file used by Windows.
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
@jitendravyas
jitendravyas / SassMeister-input.scss
Created July 26, 2013 08:07
Generated by SassMeister.com, the Sass playground.
// ---
// Compass (v0.13.alpha.4)
// Sass (v3.2.9)
// ---
$smartphone: 38em;
$fablet: 59em;
@mixin respond-to($media) {
@jitendravyas
jitendravyas / SassMeister-input.scss
Created September 9, 2013 11:03
Generated by SassMeister.com.
// ----
// Sass (v3.2.10)
// Compass (v0.13.alpha.4)
// ----
// Vars - note the quotes around comma separated selectors
$a-tags: 'a:link, a:visited';
$a-tags-hover: 'a:active, a:hover, a:focus';
// Usage
{
"use_simple_full_screen": false,
// calculates indentation automatically when pressing enter
"auto_indent": true,
// sets the colors used within the text area (default)
// see https://github.com/olivierlacan/monokaim to download
// the customized Monokai I use.
"color_scheme": "Packages/Color Scheme - Default/Monokaim.tmTheme",