Gee*_*ets 2 css twitter-bootstrap angularjs angular-ui-bootstrap
问题,
我希望我的警报显示在右上角.我怎么用bootstrap做到这一点?目前我的HTML看起来像这样.
<div class="notification">
<alert ng-repeat="alert in alerts" type="{{alert.type}}" close="alert.close()">{{alert.msg}}</alert>
</div>
Run Code Online (Sandbox Code Playgroud)
我正在使用ui-bootstrap进行角度和推特.
像我这样的人:)
.notification{
position: fixed;
top: 10em;
right: 10em;
}
Run Code Online (Sandbox Code Playgroud)