pem-- / creativepure Goto Github PK
View Code? Open in Web Editor NEWA set of styles all written with Stylus and inspired from Codrops.
License: MIT License
A set of styles all written with Stylus and inspired from Codrops.
License: MIT License
With the advent of Flow Router and Template level subscriptions it would be nice to have a clean way to indicate loading in a specific region. Additionally when the loading is finished the loading should not just vanish but fade or even expand to the new content. If I find an example of the problem or a solution I will post it here.
Some nice effect to include in.
// Stylus version of SCSS mixin from http://codepen.io/awesomephant/pen/mAxHz
long-shadow(type = 'box', base-color = rgba(#000, .2), length = 100, fadeout = true, skew = false, direction = 'right')
shadow = ''
if !skew || type == 'text'
if direction == 'right'
for i in (0..length - 1)
shadow = shadow + i + 'px ' + i + 'px 0 ' + base-color + ','
else if direction == 'left'
for i in (0..length - 1)
shadow = shadow + i * -1 + 'px ' + i + 'px 0 ' + base-color + ','
if fadeout
for i in (0..length - 1)
if type == 'text' || !skew
if direction == 'right'
shadow = shadow + i + 'px ' + i + 'px 0 ' + rgba(base-color, 1 - i / length) + ','
else if direction == 'left'
shadow = shadow + i * -1 + 'px ' + i + 'px 0 ' + rgba(base-color, 1 - i / length) + ','
else if type == 'box' && skew
if direction == 'right'
shadow = shadow + i + 'px ' + i + 'px 0 ' + i * .2 + 'px ' + rgba(base-color, 1 - i / length) + ','
else if direction == 'left'
shadow = shadow + i * -1 + 'px ' + i + 'px 0 ' + i * .2 + 'px ' + rgba(base-color, 1 - i / length) + ','
shadow = shadow + length + 'px ' + length + 'px 0 ' + rgba(base-color, 0)
if fadeout == false
if skew == true && type == 'box'
for i in (0..length - 1)
shadow = shadow + i + 'px ' + i + 'px 0 ' + i * .1 + 'px ' + base-color + ','
shadow = shadow + length + 'px ' + length + 'px 0 ' + rgba(0, 0, 0, 0)
shadow = unquote(shadow)
if type == 'box'
box-shadow: shadow
if type == 'text'
text-shadow: shadow
See: http://tympanus.net/Development/SliderPagination/
Default html input type='range'
is really bad with less then 10 options. I can only describe it as 'clicking' or 'sticking'.
The example has an issue of being 2 clicks. If users want to hide the range they can with custom logic. By default the range should be active.
See http://tympanus.net/Development/TooltipStylesInspiration/comic.html
In addition to that list there should be a clean small version.
Does this complement https://github.com/PEM--/cssc/ ?
See: http://tympanus.net/Development/TabStylesInspiration/
We would want to strip out the JS and just have active/inactive states.
As seen here: http://tympanus.net/Development/ButtonComponentMorph/index.html
Not sure if you take requests. I can see if I could bootstrap a PR at some point.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.