相关疑难解决方法(0)

如何在Bootstrap 4上使用间距实用程序类

本文中,我看到了Bootstrap 4 Spacing Utility Classes,他使用m-b-lgclassName.

<div class="row">
    <div class="col-sm-6 m-b-lg">
        <!-- column-small-50%, margin-bottom-large -->
    </div>
</div>
Run Code Online (Sandbox Code Playgroud)

但是当我在meteorjs上使用它时,没有任何反应.我错过了什么或丢失了插件吗?

<div className="container-fluid">
    <div className="col-xs-6 col-xs-offset-3 m-t-lg">
        <h1 className="text-xs-center"> Login </h1>
        <form>
            <div className="form-group">
                <input type="email" className="form-control" id="inputEmail" placeholder="Email"/>
            </div>
            <div className="form-group">
                <input type="password" className="form-control" id="inputPassword" placeholder="Password"/>
                <p className="text-xs-center"><a href="/signup"> Forgot your email or password?</a></p>
            </div>      
            <div className="form-group">
                <button className="btn btn-primary btn-block" type="submit"> Login </button>
                <p className="text-xs-center"> New to Arcademy? <a href="/signup"> Sign up now.</a></p>
            </div>
        </form>
    </div> …
Run Code Online (Sandbox Code Playgroud)

html javascript css meteor bootstrap-4

18
推荐指数
3
解决办法
3万
查看次数

标签 统计

bootstrap-4 ×1

css ×1

html ×1

javascript ×1

meteor ×1