Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View vincentntang's full-sized avatar
💭
¯\_(ツ)_/¯

Vincent Tang vincentntang

💭
¯\_(ツ)_/¯
View GitHub Profile
@vincentntang
vincentntang / css-hamburger-drawer-menu-jquery-jade-variant.markdown
Created July 5, 2018 03:26
CSS Hamburger Drawer Menu - Jquery/Jade Variant
@vincentntang
vincentntang / hamburger-menu-css-with-animation.markdown
Last active September 17, 2018 23:29
Hamburger Menu CSS with Animation
@vincentntang
vincentntang / css-mega-menu-dropdown-navigation-responsive-pt4.markdown
Last active July 19, 2018 20:21
CSS Mega Menu Dropdown Navigation Responsive Pt4

CSS Mega Menu Dropdown Navigation Responsive Pt4

Megadropdown menu with selfexplanatory CSS Used in corporate and ecommerce sites normally Explained as simply as possible with as few styles and HTML markup. Uses flexbox

Based on https://designmodo.com/create-css3-mega-menu/

@vincentntang
vincentntang / script.js
Created June 23, 2018 03:41
Tamperscript Injection Pt2
// INJECTING THE HTML
document.querySelector('body').innerHTML += '<div id="injection">Hello World</div>';
// CSS INJECTION FUNCTION
//https://stackoverflow.com/questions/707565/how-do-you-add-css-with-javascript
function insertCss( code ) {
var style = document.createElement('style');
style.type = 'text/css';
if (style.styleSheet) {
// IE
@vincentntang
vincentntang / bootstrap-3-category-grid-sample.markdown
Created June 13, 2018 19:01
Bootstrap 3 Category Grid Sample
@vincentntang
vincentntang / dual-inner-shadow-button-toggler.markdown
Last active June 13, 2018 15:20
Dual Inner Shadow Button Toggler
@vincentntang
vincentntang / index.pug
Last active June 8, 2018 15:57
Overclip text on hover
.wrapper
a.mouseover-me.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis vel lacus est. Ut vulputate venenatis mauris porta ornare. Nunc vehicula dapibus sem eget maximus. Nunc vehicula dapibus sem eget maximus. Nunc vehicula dapibus sem eget maximus.
h1.override-me HOVER ABOVE PARAGRAPH TO HIDE THIS TEXT PARTIALLY, BUT KEEP THIS H1 TEXT IN THE SAME POSITION
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install',
1 verbose cli 'express',
1 verbose cli '--save' ]
2 info using npm@5.6.0
3 info using node@v8.11.1
4 verbose npm-session 608cdf354f06931c
5 silly install loadCurrentTree
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install',
1 verbose cli 'express',
1 verbose cli '--save' ]
2 info using npm@3.10.10
3 info using node@v6.11.1
4 silly loadCurrentTree Starting
5 silly install loadCurrentTree
@vincentntang
vincentntang / 28-api-calls-in-various-forms-practice.markdown
Last active January 9, 2018 04:35
#28 API calls in various forms practice

#28 API calls in various forms practice

Functional - ish style programming to demonstrate various ways to make API calls including Promises, jquery GetJSON, and just regular vanilla javascript.

Uses bootstrap /PUG to have minimal HTML / CSS formatting, focus is mostly javascript and asynchronous callbacks

Uses a simple 2 column flexbox layout scheme

A Pen by Vincent Tang on CodePen.