Skip to content

Instantly share code, notes, and snippets.

💭
¯\_(ツ)_/¯

Vincent Tang vincentntang

💭
¯\_(ツ)_/¯
Block or report user

Report or block vincentntang

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
@vincentntang
vincentntang / index.pug
Created Oct 26, 2018
Simple Pure CSS Mega Menu
View index.pug
.nav-wrapper
.nav
each val in [1, 2, 3, 4, "Good Bye"]
.dropdown
a Category
.megamenu
p= val
p Hello World
View a_group-spaceapp-rand.js
var myVar = setTimeout(myTimer, 2000);
function myTimer() {
// https://worldmap.harvard.edu/data/geonode:country_centroids_az8
console.log("Hello world123123");
var randomIndex = getRandomInt(193);
vtLong = jsonRandom[randomIndex].Longitude;
vtLat = jsonRandom[randomIndex].Latitude;
vtCountry = jsonRandom[randomIndex].country;
@vincentntang
vincentntang / index.pug
Created Aug 4, 2018
Multiple Button Counters
View index.pug
- for (var x = 0; x < 13; x++)
.qty-holder
button.qty-dec -
input(type="number" value="1").qty-adj
button.qty-inc +
View dynalist__simple_stylish.css
/* Remove all Vertical lines except first 1 in current view */
.Node.is-currentRoot .Node .Node > .Node-children {
border-left: 0px !important;
}
/* Make Remaining Lines Green */
.Node.is-currentRoot .Node .Node-children {
border-left: 1px dotted green !important;
}
/* Hide All Bulletpoints (1st and 2nd in current view) */
@vincentntang
vincentntang / flexbox-hide-overflow-child-elements-pt3.markdown
Last active Jul 11, 2018
Flexbox Hide Overflow Child Elements Pt3
View flexbox-hide-overflow-child-elements-pt3.markdown
View hover-textbox-overflow-pt2.markdown

Hover Textbox Overflow Pt2

A demonstration of how to overflow box layouts

Pt2 demonstrates how you can overclip a partial text to resize the entire box

Uses a combination of hover, :before pseudoselectors, specific right and bottom borders.

A Pen by Vincent Tang on CodePen.

View hover-textbox-overflow.markdown

Hover Textbox Overflow

A demonstration of how to overflow box grid layouts

Hover over a rubberducky box to see the results

Uses a combination of hover, :before pseudoselectors, specific right and bottom borders.

A Pen by Vincent Tang on CodePen.

View css-hamburger-drawer-menu-jquery-jade-variant.markdown
You can’t perform that action at this time.