Skip to content

Instantly share code, notes, and snippets.

Surendra Shrestha frensuren

Block or report user

Report or block frensuren

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@frensuren
frensuren / custom_permalink.php
Last active Jun 17, 2016
Code to register custom posttype and custom taxonomy with custom permalink structure.
View custom_permalink.php
View SmoothScroll.js
// SmoothScroll for websites v1.2.1
// Licensed under the terms of the MIT license.
// People involved
// - Balazs Galambosi (maintainer)
// - Michael Herf (Pulse Algorithm)
(function(){
// Scroll Variables (tweakable)
View JQuery-RelativeFixed-Plugin.markdown

JQuery RelativeFixed Plugin

Fixing an element relative to the parent which has overflow scroll.

A Pen by Surendra on CodePen.

License.

View dabblet.css
body{
font-size:50px;
}
.block{
width:600px;
margin:0 auto;
background:#ccc;
padding:30px;
text-align:center;
font-size:100%;
You can’t perform that action at this time.