stuyspec.com icon indicating copy to clipboard operation
stuyspec.com copied to clipboard

Inline CSS

Open NicholasLYang opened this issue 8 years ago • 1 comments

Overall our css is pretty good, but we have a few bits that can be sped up. First, bootstrap needs to be inlined into our regular CSS. Right now it's a separate file (bootstrap.min.css), which needs to be loaded. That's why there's a flash of unstyled content at the beginning. There's two options here: the optimal one is to literally inline it into the index.html. This requires a little bit of setup in gulp, but it'd be the fastest. The second is to add it to main-index.css. This is less work, but it doesn't completely fix the loading times

NicholasLYang avatar Feb 23 '18 19:02 NicholasLYang

For the devs: part of the re-styling project, instructions were outlined by Nicholas

AndySok avatar Apr 15 '21 16:04 AndySok