Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Hot-linking of css doesn't show form label color #57

Open
robrechtdr opened this issue Jul 27, 2017 · 0 comments
Open

Hot-linking of css doesn't show form label color #57

robrechtdr opened this issue Jul 27, 2017 · 0 comments

Comments

@robrechtdr
Copy link

robrechtdr commented Jul 27, 2017

Hi Egoist,

Awesome looking project!

I'm trying it out and hot-linking the css like it says on https://github.com/egoist/hack#install, like so:

hello_world.html

<html>
  <head>
    <link rel="stylesheet" href="..static/hack/css/hack.css">
  </head>

  <!-- markdown theme -->
  <body class="hack">

      <!-- Copy of form with colored labels you are using in https://hackcss.egoist.moe/ -->
      <h5>Stateful Form</h5>
        <form class="form">
          <fieldset class="form-group form-success">
            <label for="username2">USERNAME:</label>
            <input id="username2" type="text" placeholder="type your name..." class="form-control">
           </fieldset>
           <fieldset class="form-group form-warning">
             <label for="age">AGE:</label>
             <input id="age" type="text" placeholder="" class="form-control">
           </fieldset>
        </form>
  </body>
<html>

The markdown style is rendered fine but the form label color doesn't show like on https://hackcss.egoist.moe/ (form-group form-success).

Any idea how to do this? Not too familiar with the frontend toolset; it looks like it should have something to do with invoking some process on components.css directly or indirectly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant