Skip to content

Instantly share code, notes, and snippets.

View gkilmain's full-sized avatar

gkilmain

View GitHub Profile
@gkilmain
gkilmain / base
Created August 26, 2014 20:02
kilmain
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:300);
body {
font-family: 'Source Sans Pro', sans-serif;
background-color: #F6F8F8;
font-size: 1.1em;
//font-weight: bold;
}
.cf:before, .cf:after {
@gkilmain
gkilmain / index
Created August 26, 2014 20:04
JS BJ
.card {
width: 50px;
height: 100px;
border: 1px solid #ccc;
border-radius: 4px;
float: left;
margin: 5px;
}
@gkilmain
gkilmain / app.js
Created December 10, 2014 13:20
custom checkbox
angular.module('app', [])
.controller('MainCtrl', MainCtrl)
.directive('checkBox', checkBox);
function checkBox() {
var directive = {
controller: Controller,
link: link,
restrict: 'E',
require: 'ngModel',
@gkilmain
gkilmain / templatestuff.html
Last active May 13, 2018 00:03
Angular Template stuff
<ng-template #loginButtons>
<button (click)="login()">{{loginText}}</button>
<button (click)="signUp()">{{signUpText}}</button>
</ng-template>
<ng-template #logoText>
<h3>Super Awsome Logo Text</h3>
</ng-template>
<ng-template #logo>
<record-text>Regular text</record-text>
<record-text class="title">Title text</record-text>