我是bootstrap的新手,并且已经在我的自定义CSS类中使用bootstrap border-radius属性.
.border-radius-none{
border-radius: 0;
}Run Code Online (Sandbox Code Playgroud)
图片:
这适用于所有情况,但在骑行时list-group-item,第一个和最后一个元素不会被过度使用.
我试过的事情
!important到我的CSS.有没有其他方法可以删除bootstrap border-radius默认值,而不使用重要的?
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB"
crossorigin="anonymous">
<link href="./Main.css" rel="stylesheet">
<li class="list-group-item bg-black white-text border-none">
<div class="row">
<div class="col-9"> Latest Jobs </div>
<div class="col-3">
<a href="#" class="mr-auto">View all</a>
</div>
</div>
</li>Run Code Online (Sandbox Code Playgroud)
I am trying to use the updateIntent function that is part of the Dialogflow v2 Client library for Node.js . The reason I am trying to use it, is to be able to add training phrases to an intent.
I cannot seem to get passed this one. Here is the code I am using for it!:
My GetIntent Function:
async function getIntent(intentId) {
try {
let responses = await intentsClient.getIntent({name: intentId, intentView: 'INTENT_VIEW_FULL'})
const response = responses[0]
// console.log(response)
return …Run Code Online (Sandbox Code Playgroud) 所以我的代码是 Angular 版本 5。
我有一个带有图标的按钮。我正在尝试使图标动态化。所以我想在发送图标fa fa-paper-plane和加载图标之间切换fa fa-spinner fa-spin。当我发送消息时,我应该显示旋转器,当我收到消息时,我应该显示纸飞机图标。
案例1)我fa一起给了fa-spinner,但fa-paper-plane没有用。
<div class="send">
<button type="submit" class="message-submit" id="btn-submit" (click)="onSubmit()">
<i [ngClass]="{ 'fa fa-spinner fa-spin': true, 'fa fa-paper-plane': false }" aria-hidden="true" title="send"></i>
</button>
</div>
Run Code Online (Sandbox Code Playgroud)
这是下面的输出,我得到一个方形图标而不是旋转图标。
案例 2) 在这方面,我也给出了fa和fa-spinner fa-spinfa-paper-plane
<div class="send">
<button type="submit" class="message-submit" id="btn-submit" (click)="onSubmit()">
<i [ngClass]="{ 'fa fa-spinner fa-spin': false, 'fa fa-paper-plane': true }" aria-hidden="true" title="send"></i>
</button>
</div>
Run Code Online (Sandbox Code Playgroud)
所以现在发生了这种情况。
现在你可以看到,在这两种情况之间,我刚刚交换了 true false 值。所以我得出的结论是,我的旋转器不工作。但这件事发生了,
情况 3 )我再次给出了fa和 …
在Dialogflow中使用知识库时,$ Knowledge.Answer [1]返回响应,而$ Knowledge.Answer [2]或$ Knowledge.Answer [3]不起作用。任何的想法?
html ×2
angular ×1
css ×1
css3 ×1
font-awesome ×1
google-api ×1
html5 ×1
ng-class ×1
node.js ×1