当前位置: 动力学知识库 > 问答 > 编程问答 >

html - semantic ui button does not show up correctly

问题描述:

I am creating a button using semantic ui css framework this is my code:

<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">

<title></title>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>

<link rel="stylesheet" href="dist/semantic.min.css" />

<script type="text/javascript" src="dist/semantic.min.js"></script>

<link rel="stylesheet" href="dist/components/button.min.css" />

</head>

<body>

<form id="form1" runat="server">

<div class="ui labeled button" tabindex="0">

<div class="ui button">

<i class="heart icon"></i> Like

</div>

<a class="ui basic label">

2,048

</a>

</div>

</form>

</body>

</html>

result should be this:

but this is what i get

any help?

网友答案:

I guess that the problem is into the file paths. Try to replace them with the CDN paths.

分享给朋友:
您可能感兴趣的文章:
随机阅读: