Skip to content

Instantly share code, notes, and snippets.

View chrisvoncsefalvay's full-sized avatar
🥼
doing science & still alive ;)

Chris von Csefalvay chrisvoncsefalvay

🥼
doing science & still alive ;)
View GitHub Profile
@chrisvoncsefalvay
chrisvoncsefalvay / AngularJS-BootStrap-3-Modal-Dialogs.markdown
Created April 29, 2014 17:59
AngularJS based Bootstrap modal dialogs

AngularJS BootStrap 3 Modal Dialogs

A dialog/modal service written in AngularJS, creates predefined easy to use dialogs (error,wait,notify,confirm,create) with Angular UI and Bootstrap 3

A Pen by Michael E Conroy on CodePen.

License.

@chrisvoncsefalvay
chrisvoncsefalvay / Gradients.markdown
Created April 29, 2014 17:54
Angled diffuse gradients via Sass
.validationclass
// add invalidated style here
display: none
& + input:focus
display: block
& + input:focus:required:valid
// add validated style
@chrisvoncsefalvay
chrisvoncsefalvay / Fade-blur focus Sass
Last active August 29, 2015 13:57
Fade/blur focus animation
$animation-width: 1024px
$animation-height: 768px
// Animation keyframes
@-webkit-keyframes fio
0%, 100%
opacity: 0.2
-webkit-transform: scale(0.2, 0.2)
-webkit-filter: blur(3px)
@chrisvoncsefalvay
chrisvoncsefalvay / jQuery plugin to randomise font-size, posx and posy.
Last active August 29, 2015 13:57
Randomising font sizes and positions
(function( $ ) {
$.fn.randomise = function(options) {
var settings = $.extend({
// Setting defaults
position: "absolute",
sizemin: 10,
sizemax: 64,
xmin: 0,
ymin: 0,