Skip to content

Instantly share code, notes, and snippets.

View anilkk's full-sized avatar

Anil Kumar Krishnashetty anilkk

View GitHub Profile
@anilkk
anilkk / dabblet.css
Created November 20, 2012 09:12
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, black);
min-height: 200%;
color:white;
border : 2px solid black;
@anilkk
anilkk / index
Created April 30, 2013 13:54
RWD sample
<!DOCTYPE html>
<html>
<head>
<style>
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
@anilkk
anilkk / index.html
Created July 25, 2013 12:28
A CodePen by anilbms.
<div class="container">
<div class="hat-top">
<div class="hat-bottom">)</div>
</div>
<div class="face-top">
<div class="eyebro">_</div>
<div class="glass"></div>
<div class="glass right"></div>
<div class="nose-top">)</div>
</div>
@anilkk
anilkk / index.html
Created July 25, 2013 13:42
A CodePen by anilbms. Smashing lion using CSS3
<h1>Smashing Lion using CSS3</h1>
<!-- Lion structure starts here-->
<!-- Lion head starts here-->
<div class="lionHead">
<div class="lionFace">
<!--Left side of the face-->
<div class="halfFace">
<div class="faceComponentHolder">
<div class="ear">
<div class="earInside"></div>
@anilkk
anilkk / app.coffee
Created June 13, 2017 22:21
Setup Framer Device setup
#Setup device type
#For more details refer - https://framer.com/docs/#device.deviceType
Framer.Device.deviceType = "apple-iphone-6s-gold"
@anilkk
anilkk / app.coffee
Created June 13, 2017 22:25
Define variables
#Define variables
fwidth=Framer.Device.screen.width
fheight=Framer.Device.screen.height
@anilkk
anilkk / app.coffee
Created June 14, 2017 09:14
Screen Layer
# Create layer for each screens
#
screen1 = new Layer
image:"https://preview.ibb.co/iBJJdQ/Screenshot_2017_06_13_00_12_49.png"
width: 320
height: 520
@anilkk
anilkk / app.coffee
Last active June 14, 2017 09:18
Transparent layer
# Create transparent layer for hotspot
searchButton = new Layer
width: 650
height: 80
backgroundColor: "rgba(0,0,0, 0.1)"
x: 60
y: 1100
#add to parent layer
screen2.addChild(searchButton)
@anilkk
anilkk / app.coffee
Created June 14, 2017 09:23
FlowComponent
flow = new FlowComponent
flow.showNext(screen1)
@anilkk
anilkk / app.coffee
Created June 14, 2017 09:25
Attach click event
screen1.onTap ->
flow.showNext(screen2)
searchButton.onTap ->
flow.showPrevious(screen1)