<!DOCTYPE html>
    <html lang="vi" xmlns="http://www.w3.org/1999/xhtml" prefix="og: http://ogp.me/ns#">
    <head>
<title>Sự khác biệt giữa bootstrap.css và bootstrap-theme.css</title>
<meta name="description" content="Sự khác biệt giữa bootstrap.css và bootstrap-theme.css - Savefile - Tin Tức -...">
<meta name="author" content=".: Nguoicodonvn2008.info - Cõi lòng người cô đơn :.">
<meta name="copyright" content=".: Nguoicodonvn2008.info - Cõi lòng người cô đơn :. [admin@nguoicodonvn2008.info]">
<meta name="robots" content="index, archive, follow, noodp">
<meta name="googlebot" content="index,archive,follow,noodp">
<meta name="msnbot" content="all,index,follow">
<meta name="generator" content="NukeViet v4.5">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta property="og:title" content="Sự khác biệt giữa bootstrap.css và bootstrap-theme.css">
<meta property="og:type" content="website">
<meta property="og:description" content="Savefile - Tin Tức - https&#x3A;&#x002F;&#x002F;www.nguoicodonvn2008.info&#x002F;vi&#x002F;news&#x002F;savefile&#x002F;kien-thuc-may-tinh&#x002F;su-khac-biet-giua-bootstrap-css-va-bootstrap-theme-css-6526.html">
<meta property="og:site_name" content=".&#x3A; Nguoicodonvn2008.info - Cõi lòng người cô đơn &#x3A;.">
<meta property="og:url" content="https://www.nguoicodonvn2008.info/vi/news/savefile/kien-thuc-may-tinh/su-khac-biet-giua-bootstrap-css-va-bootstrap-theme-css-6526.html">
<link rel="shortcut icon" href="https://www.nguoicodonvn2008.info/favicon.ico">
<link rel="canonical" href="https://www.nguoicodonvn2008.info/vi/news/savefile/kien-thuc-may-tinh/su-khac-biet-giua-bootstrap-css-va-bootstrap-theme-css-6526.html">
<link rel="alternate" href="https://www.nguoicodonvn2008.info/vi/news/rss/" title="Tin Tức" type="application/rss+xml">
<link rel="alternate" href="https://www.nguoicodonvn2008.info/vi/news/rss/karaoke-dual/" title="Tin Tức - Karaoke Dual" type="application/rss+xml">
<link rel="alternate" href="https://www.nguoicodonvn2008.info/vi/news/rss/nhac-tre/" title="Tin Tức - Nhạc trẻ" type="application/rss+xml">
<link rel="alternate" href="https://www.nguoicodonvn2008.info/vi/news/rss/tru-tinh/" title="Tin Tức - Trữ tình" type="application/rss+xml">
<link rel="alternate" href="https://www.nguoicodonvn2008.info/vi/news/rss/nuoc-ngoai/" title="Tin Tức - Nước ngoài" type="application/rss+xml">
<link rel="alternate" href="https://www.nguoicodonvn2008.info/vi/news/rss/remix/" title="Tin Tức - Remix" type="application/rss+xml">
<link rel="alternate" href="https://www.nguoicodonvn2008.info/vi/news/rss/tam-su-tinh-yeu/" title="Tin Tức - Tâm sự tình yêu" type="application/rss+xml">
<link rel="alternate" href="https://www.nguoicodonvn2008.info/vi/news/rss/tho-suu-tam/" title="Tin Tức - Thơ sưu tầm" type="application/rss+xml">
<link rel="alternate" href="https://www.nguoicodonvn2008.info/vi/news/rss/cuoc-song/" title="Tin Tức - Cuộc sống" type="application/rss+xml">
<link rel="alternate" href="https://www.nguoicodonvn2008.info/vi/news/rss/phan-mem/" title="Tin Tức - Phần mềm" type="application/rss+xml">
<link rel="alternate" href="https://www.nguoicodonvn2008.info/vi/news/rss/kien-thuc-may-tinh/" title="Tin Tức - Kiến thức máy tính" type="application/rss+xml">
<link rel="alternate" href="https://www.nguoicodonvn2008.info/vi/news/rss/hoc-tap/" title="Tin Tức - Học tập" type="application/rss+xml">
<link rel="alternate" href="https://www.nguoicodonvn2008.info/vi/news/rss/tai-lieu/" title="Tin Tức - Tài liệu" type="application/rss+xml">
<link rel="alternate" href="https://www.nguoicodonvn2008.info/vi/news/rss/de-thi/" title="Tin Tức - Đề thi" type="application/rss+xml">
<link rel="preload" as="style" href="https://www.nguoicodonvn2008.info/assets/css/font-awesome.min.css" type="text/css">
<link rel="preload" as="style" href="https://www.nguoicodonvn2008.info/themes/default/css/bootstrap.non-responsive.css" type="text/css">
<link rel="preload" as="style" href="https://www.nguoicodonvn2008.info/themes/default/css/style.css" type="text/css">
<link rel="preload" as="style" href="https://www.nguoicodonvn2008.info/themes/default/css/style.non-responsive.css" type="text/css">
<link rel="preload" as="style" href="https://www.nguoicodonvn2008.info/themes/default/css/news.css" type="text/css">
<link rel="preload" as="style" href="https://www.nguoicodonvn2008.info/themes/default/css/custom.css" type="text/css">
<link rel="preload" as="script" href="https://www.nguoicodonvn2008.info/assets/js/jquery/jquery.min.js" type="text/javascript">
<link rel="preload" as="script" href="https://www.nguoicodonvn2008.info/assets/js/language/vi.js" type="text/javascript">
<link rel="preload" as="script" href="https://www.nguoicodonvn2008.info/assets/js/DOMPurify/purify3.js" type="text/javascript">
<link rel="preload" as="script" href="https://www.nguoicodonvn2008.info/assets/js/global.js" type="text/javascript">
<link rel="preload" as="script" href="https://www.nguoicodonvn2008.info/assets/js/site.js" type="text/javascript">
<link rel="preload" as="script" href="https://www.nguoicodonvn2008.info/themes/default/js/news.js" type="text/javascript">
<link rel="preload" as="script" href="https://www.nguoicodonvn2008.info/themes/default/js/main.js" type="text/javascript">
<link rel="preload" as="script" href="https://www.nguoicodonvn2008.info/themes/default/js/custom.js" type="text/javascript">
<link rel="preload" as="script" href="https://www.nguoicodonvn2008.info/themes/default/js/bootstrap.min.js" type="text/javascript">
<link rel="stylesheet" href="https://www.nguoicodonvn2008.info/assets/css/font-awesome.min.css">
<link rel="stylesheet" href="https://www.nguoicodonvn2008.info/themes/default/css/bootstrap.non-responsive.css">
<link rel="stylesheet" href="https://www.nguoicodonvn2008.info/themes/default/css/style.css">
<link rel="stylesheet" href="https://www.nguoicodonvn2008.info/themes/default/css/style.non-responsive.css">
<link rel="StyleSheet" href="https://www.nguoicodonvn2008.info/themes/default/css/news.css">
<link rel="stylesheet" href="https://www.nguoicodonvn2008.info/themes/default/css/custom.css">
<style type="text/css">
	body{background: #fff;}
</style>
    </head>
    <body>
<div id="print">
	<div id="hd_print">
		<h2 class="pull-left">.&#x3A; Nguoicodonvn2008.info - Cõi lòng người cô đơn &#x3A;.</h2>
		<p class="pull-right"><a title=".&#x3A; Nguoicodonvn2008.info - Cõi lòng người cô đơn &#x3A;." href="https://www.nguoicodonvn2008.info/">https://www.nguoicodonvn2008.info</a></p>
	</div>
	<div class="clear"></div>
	<hr />
	<div id="content">
		<h1>Sự khác biệt giữa bootstrap.css và bootstrap-theme.css</h1>
		<ul class="list-inline">
			<li>Thứ hai - 26/12/2022 23:18</li>
			<li class="hidden-print txtrequired"><em class="fa fa-print">&nbsp;</em><a title="In ra" href="javascript:;" onclick="window.print()">In ra</a></li>
			<li class="hidden-print txtrequired"><em class="fa fa-power-off">&nbsp;</em><a title="Đóng cửa sổ này" href="javascript:;" onclick="window.close()">Đóng cửa sổ này</a></li>
		</ul>
		<div class="clear"></div>
		<div id="hometext">
		</div>
				<div class="imghome">
			<img alt="Sự khác biệt giữa bootstrap.css và bootstrap-theme.css" src="https://st.quantrimang.com/photos/image/2022/12/26/Bootstrap-theme-7.jpg" width="460" class="img-thumbnail" />
		</div>
		<div class="clear"></div>
		<div id="bodytext" class="clearfix">
			<p style="text-align: justify;"><strong>Bootstrap</strong>&nbsp;là một framework-front-end HTML, CSS và JS được dùng cho phát triển các dự án ưu tiên mobile và đáp ứng trên web. Nó là framework đưa ra các thuật ngữ xác định trước, cho bạn khả năng dùng code thay vì tạo code từ đầu. Nó là một bộ sưu tập code HTML, CSS và JS được thiết kế để giúp người dùng xây dựng các phần tử trong giao diện.</p>

<p style="text-align: justify;"><img alt="Lập trình với Bootstrap" data-i="0" data-src="https://st.quantrimang.com/photos/image/2022/12/26/Bootstrap-theme-7.jpg" data-was-processed="true" height="340" src="https://st.quantrimang.com/photos/image/2022/12/26/Bootstrap-theme-7.jpg" width="650" /></p>

<p style="text-align: justify;">Sử dụng Bootstrap rất dễ. Bạn có thể làm theo&nbsp;hướng dẫn cài đặt Bootstrap&nbsp;trên Quantrimang.com. Bootstrap CDN là một mạng truyền tải nội dung công khai và cho phép người dùng tải CSS hoặc JS và ảnh từ xa trên server của nó. Bootstrap CDN chứa các tính năng sau:</p>

<ul>
	<li style="text-align: justify;">Dễ dùng khi bạn có kiến thức cơ bản về HTML.</li>
	<li style="text-align: justify;">Tích hợp đơn giản, dễ dàng với từng nền tảng và framework, trên các trang hiện tại và cả mới. Hơn nữa, bạn cũng có thể dùng các phần tử nhất định của Bootstrap cùng với CSS hiện tại.</li>
	<li style="text-align: justify;">Hệ thống lưới tuyệt vời: Bootstrap được xây dựng trên 12 cột, bố cục và phần tử đáp ứng. Dù bạn cần một hệ thống lưới cố định hay đáp ứng, Bootstrap đều có thể trợ giúp.</li>
</ul>

<p style="text-align: justify;">Ví dụ:</p>

<p style="text-align: justify;">Mẫu code chia trang web thành 3 cột. Tại đây, bootstrap được dùng trực tiếp mà không cần tạo phương pháp mới.</p>

<pre id="pre0" style="text-align: justify;">
&lt;!DOCTYPE html&gt;
&lt;html&gt;

&lt;head&gt;
&lt;link rel=&quot;stylesheet&quot; href=
&quot;https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css&quot;
integrity=
&quot;sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh&quot;
crossorigin=&quot;anonymous&quot;&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;div class=&quot;container&quot;&gt;
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;col-md&quot;&gt;
n One of three columns
&lt;/div&gt;

&lt;!-- Dividing the website into
three columns --&gt;
&lt;div class=&quot;col-md&quot;&gt;
One of three columns
&lt;/div&gt;

&lt;div class=&quot;col-md&quot;&gt;
One of three columns
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/body&gt;

&lt;/html&gt;</pre>

<p style="text-align: justify;"><strong>Bootstrap-Theme&nbsp;</strong>là các gói HTML, CSS và JS tạo kiểu cùng các phần tử trong giao diện và bố cục trang để dùng trong một dự án web. Các mẫu do lập trình viên viết được dùng để điều chỉnh tập lệnh và dễ dàng cho cá nhân học hỏi trong cách xây dựng trang web mới.</p>

<p style="text-align: justify;">Bootstrap-theme bao gồm các nút bấm, menu thả xuống, thanh điều hướng, thanh tiến trình, bảng điều khiển. Các class thuật ngữ cho phép chúng ta truy cập những phần tử nhất định của CSS và JS qua bộ chọn class. Các class trong nút bấm được xác định trước, giúp bạn tiết kiệm đáng kể thời gian tùy chỉnh. Theme được dùng để thiết lập chiều cao của lưới và màu nền cho trang web với định dạng kiểu khác nhau cho text. Với nội dung và chiều cao của text mà bạn có thể đặt padding cho Grid.</p>

<p style="text-align: justify;">Ví dụ:</p>

<pre id="pre1" style="text-align: justify;">
&lt;!DOCTYPE html&gt;
&lt;html lang=&quot;en&quot;&gt;

&lt;head&gt;
&lt;title&gt;Bootstrap Example&lt;/title&gt;
&lt;meta charset=&quot;utf-8&quot;&gt;
&lt;meta name=&quot;viewport&quot;
content=&quot;width=device-width, initial-scale=1&quot;&gt;
&lt;link rel=&quot;stylesheet&quot;
href=
&quot;https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css&quot;&gt;
&lt;script src=
&quot;https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js&quot;&gt;
&lt;/script&gt;
&lt;script src=
&quot;https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js&quot;&gt;
&lt;/script&gt;
&lt;style&gt;
/* Remove the navbar&#039;s default margin-bottom
and rounded borders */

.navbar {
margin-bottom: 0;
border-radius: 0;
}
/* Add a gray background color and some
padding to the footer */

footer {
background-color: #f2f2f2;
padding: 25px;
}

.carousel-inner img {
width: 100%;
/* Set width to 100% */
margin: auto;
min-height: 200px;
}
/* Hide the carousel text when the screen
is less than 600 pixels wide */

@media (max-width: 600px) {
.carousel-caption {
display: none;
}
}
&lt;/style&gt;
&lt;/head&gt;

&lt;body&gt;

&lt;nav class=&quot;navbar navbar-inverse&quot;&gt;
&lt;div class=&quot;container-fluid&quot;&gt;
&lt;div class=&quot;navbar-header&quot;&gt;
&lt;button type=&quot;button&quot;
class=&quot;navbar-toggle&quot;
data-toggle=&quot;collapse&quot;
data-target=&quot;#myNavbar&quot;&gt;
&lt;span class=&quot;icon-bar&quot;&gt;
&lt;/span&gt;
&lt;span class=&quot;icon-bar&quot;&gt;
&lt;/span&gt;
&lt;span class=&quot;icon-bar&quot;&gt;
&lt;/span&gt;
&lt;/button&gt;
&lt;a class=&quot;navbar-brand&quot;
href=&quot;#&quot;&gt;Logo&lt;/a&gt;
&lt;/div&gt;
&lt;div class=&quot;collapse navbar-collapse&quot;
id=&quot;myNavbar&quot;&gt;
&lt;ul class=&quot;nav navbar-nav&quot;&gt;
&lt;li class=&quot;active&quot;&gt;&lt;a href=&quot;#&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#&quot;&gt;About&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Projects&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Contact&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul class=&quot;nav navbar-nav navbar-right&quot;&gt;
&lt;li&gt;&lt;a href=&quot;#&quot;&gt;
&lt;span class=&quot;glyphicon glyphicon-log-in&quot;&gt;
&lt;/span&gt; Login&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/nav&gt;

&lt;div id=&quot;myCarousel&quot;
class=&quot;carousel slide&quot;
data-ride=&quot;carousel&quot;&gt;
&lt;!-- Indicators --&gt;
&lt;ol class=&quot;carousel-indicators&quot;&gt;
&lt;li data-target=&quot;#myCarousel&quot;
data-slide-to=&quot;0&quot;
class=&quot;active&quot;&gt;&lt;/li&gt;

&lt;li data-target=&quot;#myCarousel&quot;
data-slide-to=&quot;1&quot;&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;!-- Wrapper for slides --&gt;
&lt;div class=&quot;carousel-inner&quot; role=&quot;listbox&quot;&gt;
&lt;div class=&quot;item active&quot;&gt;
&lt;img alt=&quot;Image&quot;&gt;
&lt;div class=&quot;carousel-caption&quot;&gt;
&lt;h3&gt;SomeText&lt;/h3&gt;
&lt;p&gt;content.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;div class=&quot;item&quot;&gt;
&lt;img alt=&quot;Image&quot;&gt;
&lt;div class=&quot;carousel-caption&quot;&gt;
&lt;h3&gt;Mo&lt;/h3&gt;
&lt;p&gt;Lorem ipsum...&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;!-- Left and right controls --&gt;
&lt;a class=&quot;left carousel-control&quot;
href=&quot;#myCarousel&quot;
role=&quot;button&quot;
data-slide=&quot;prev&quot;&gt;
&lt;span class=&quot;glyphicon glyphicon-chevron-left&quot;
aria-hidden=&quot;true&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;sr-only&quot;&gt;Previous&lt;/span&gt;
&lt;/a&gt;
&lt;a class=&quot;right carousel-control&quot;
href=&quot;#myCarousel&quot;
role=&quot;button&quot;
data-slide=&quot;next&quot;&gt;
&lt;span class=&quot;glyphicon glyphicon-chevron-right&quot;
aria-hidden=&quot;true&quot;&gt;
&lt;/span&gt;
&lt;span class=&quot;sr-only&quot;&gt;Next&lt;/span&gt;
&lt;/a&gt;
&lt;/div&gt;

&lt;div class=&quot;container text-center&quot;&gt;
&lt;h3&gt;What We Do&lt;/h3&gt;
&lt;br&gt;
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;col-sm-4&quot;&gt;
&lt;img class=&quot;img-responsive&quot;
style=&quot;width:100%&quot;
alt=&quot;Image&quot;&gt;
&lt;p&gt;Current Project&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;col-sm-4&quot;&gt;
&lt;img class=&quot;img-responsive&quot;
style=&quot;width:100%&quot;
alt=&quot;Image&quot;&gt;
&lt;p&gt;Project 2&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;col-sm-4&quot;&gt;
&lt;div class=&quot;well&quot;&gt;
&lt;p&gt;Some text..&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;well&quot;&gt;
&lt;p&gt;Some text..&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br&gt;

&lt;footer class=&quot;container-fluid text-center&quot;&gt;
&lt;p&gt;Footer Text&lt;/p&gt;
&lt;/footer&gt;

&lt;/body&gt;

&lt;/html&gt;</pre>

<p style="text-align: justify;"><strong>Sự khác biệt:</strong>&nbsp;Framework Bootstrap.css được dùng để thiết kế một trang web cơ bản cùng với một số nội dung và thiết kế được xác định trước. Kiểu của trang web được hoàn thiện bằng cách nhập link CSS vào trong web chính thức. Vì bootstrap-theme.css được dùng cho các menu thả xuống, thanh điều hướng, thanh tiến trình, nút bấm với các kiểu khác nhau. Bạn có thể thêm chúng bằng cách gọi các thuộc tính class trong code này. Định dạng text thoải mái với các kiểu khác nhau.</p>

<p style="text-align: justify;">Trên đây là những điều bạn cần biết về bootstrap.css và bootstrap-theme.css. Hi vọng bài viết hữu ích với các bạn.</p>
		</div>
				<div id="author">
						<p>
				<strong>Nguồn tin:</strong>
				Quantrimang.com
			</p>
		</div>
	</div>
	<div id="footer" class="clearfix">
		<div id="url">
			<strong>URL của bản tin này: </strong><a href="https://www.nguoicodonvn2008.info/vi/news/savefile/kien-thuc-may-tinh/su-khac-biet-giua-bootstrap-css-va-bootstrap-theme-css-6526.html" title="Sự khác biệt giữa bootstrap.css và bootstrap-theme.css">https://www.nguoicodonvn2008.info/vi/news/savefile/kien-thuc-may-tinh/su-khac-biet-giua-bootstrap-css-va-bootstrap-theme-css-6526.html</a>

		</div>
		<div class="clear"></div>
		<div class="copyright">
			&copy; .&#x3A; Nguoicodonvn2008.info - Cõi lòng người cô đơn &#x3A;.
		</div>
		<div id="contact">
			<a href="mailto:admin@nguoicodonvn2008.info">admin@nguoicodonvn2008.info</a>
		</div>
	</div>
</div>
        <div id="timeoutsess" class="chromeframe">
            Bạn đã không sử dụng Site, <a onclick="timeoutsesscancel();" href="https://www.nguoicodonvn2008.info/#">Bấm vào đây để duy trì trạng thái đăng nhập</a>. Thời gian chờ: <span id="secField"> 60 </span> giây
        </div>
        <div id="openidResult" class="nv-alert" style="display:none"></div>
        <div id="openidBt" data-result="" data-redirect=""></div>
		</script>
		<div class="car-top">
  <span><img src="https://www.nguoicodonvn2008.info/themes/default/images/car.png" alt=""></span>
</div>
<div id="run_cronjobs" style="visibility:hidden;display:none;"><img alt="cron" src="/index.php?second=cronjobs&amp;p=y53Cy11P" width="1" height="1" /></div>
<script src="https://www.nguoicodonvn2008.info/assets/js/jquery/jquery.min.js"></script>
<script>var nv_base_siteurl="/",nv_lang_data="vi",nv_lang_interface="vi",nv_name_variable="nv",nv_fc_variable="op",nv_lang_variable="language",nv_module_name="news",nv_func_name="savefile",nv_is_user=0, nv_my_ofs=-4,nv_my_abbr="EDT",nv_cookie_prefix="nv4c_e856T",nv_check_pass_mstime=1738000,nv_area_admin=0,nv_safemode=0,theme_responsive=0,nv_recaptcha_ver=2,nv_recaptcha_sitekey="",nv_recaptcha_type="image",XSSsanitize=1;</script>
<script src="https://www.nguoicodonvn2008.info/assets/js/language/vi.js"></script>
<script src="https://www.nguoicodonvn2008.info/assets/js/DOMPurify/purify3.js"></script>
<script src="https://www.nguoicodonvn2008.info/assets/js/global.js"></script>
<script src="https://www.nguoicodonvn2008.info/assets/js/site.js"></script>
<script src="https://www.nguoicodonvn2008.info/themes/default/js/news.js"></script>
<script src="https://www.nguoicodonvn2008.info/themes/default/js/main.js"></script>
<script src="https://www.nguoicodonvn2008.info/themes/default/js/custom.js"></script>
<script type="application/ld+json">
        {
            "@context": "https://schema.org",
            "@type": "Organization",
            "url": "https://www.nguoicodonvn2008.info",
            "logo": "https://www.nguoicodonvn2008.info/uploads/angel.gif"
        }
        </script>
<script src="https://www.nguoicodonvn2008.info/themes/default/js/bootstrap.min.js"></script>
<script type="text/javascript">
var $scrolltop = $('.car-top');
$scrolltop.on('click', function () {
    $('html,body').animate({
        scrollTop: 0
    }, 800);
    $(this).addClass("car-run");
    setTimeout(function(){ $scrolltop.removeClass('car-run');}, 1000);
    return false;
});
$(window).on('scroll', function ()
{ 
    if($(window).scrollTop() >= 200)
    {
        $scrolltop.addClass("show");
        $scrolltop.addClass("car-down");
    }
    else
    {
       $scrolltop.removeClass("show");
       setTimeout(function(){ $scrolltop.removeClass('car-down');}, 300);
    }
});
</script>
</body>
</html>