Spectre: JS code ?

Created on 9 Mar 2018  路  6Comments  路  Source: picturepan2/spectre

Where is javascript code for navbar ,Modals,....,. ?

question

Most helpful comment

@9Emi There is no JS in Spectre, because JS code is opinionated thing. There are already some pure CSS solutions.

All 6 comments

Nowhere? To quote the documentation:

Spectre.css does not include JavaScript code, you will need to implement your JS to interact with modals.

# but why navbar is not responsive
01

Haven't used the navbar and I'm not the author of Spectre.css, but responsiveness doesn't require JS. You might want to report this issue as a bug.

You'd have to write your own JS to change the display of the navbar. In to a burger menu for example. If you want a out the box responsive menu use tabs

@9Emi There is no JS in Spectre, because JS code is opinionated thing. There are already some pure CSS solutions.

Why not leave this half-done? Why not make it working out of box with CSS built in spectre? This tab-thing is very useful. Please consider implementing it out of box.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

9Emi picture 9Emi  路  3Comments

alighasemzadeh picture alighasemzadeh  路  3Comments

tomcam picture tomcam  路  4Comments

hume12 picture hume12  路  4Comments

mp4096 picture mp4096  路  3Comments