<strike id="akkoe"><input id="akkoe"></input></strike>
  • <ul id="akkoe"></ul>
    <strike id="akkoe"></strike>
    <fieldset id="akkoe"></fieldset>
  • <del id="akkoe"><sup id="akkoe"></sup></del>
  • <\/code> 內(nèi)渲染。此標(biāo)簽作為集成點,用于包含 Rails 動態(tài)渲染的視圖內(nèi)容;<\/li>\n<\/ul>\n<\/details>\n

    使用 pages 控制器和 html_test_1、html_test_2、html_test_3 和 html_test_4 操作生成測試頁面<\/h3>\n
    展開…<\/summary>\n```bash\n$ rails g controller pages html_test_1 html_test_2 html_test_3 html_test_4\n create app\/controllers\/pages_controller.rb\n route get \"pages\/html_test_1\"\n get \"pages\/html_test_2\"\n get \"pages\/html_test_3\"\n get \"pages\/html_test_4\"\n invoke erb\n create app\/views\/pages\n create app\/views\/pages\/html_test_1.html.erb\n create app\/views\/pages\/html_test_2.html.erb\n create app\/views\/pages\/html_test_3.html.erb\n create app\/views\/pages\/html_test_4.html.erb\n invoke helper\n create app\/helpers\/pages_helper.rb\n```\n
      \n
    • 由于在創(chuàng)建控制器和操作時也添加了路由,因此您可以通過以下鏈接訪問任何創(chuàng)建的操作:<\/li>\n
    • localhost:3000\/pages\/html_test_1<\/code><\/li>\n
    • localhost:3000\/pages\/html_test_2<\/code><\/li>\n
    • localhost:3000\/pages\/html_test_3<\/code><\/li>\n
    • localhost:3000\/pages\/html_test_4<\/code><\/li>\n<\/ul>\n

      使用 VSCode 打開 config\/routes.rb<\/code> 文件<\/h3>\n
        \n
      • 在文件末尾添加以下行,將頁面根目錄指向之前創(chuàng)建的 pages 控制器和 html_test_1 操作。這樣,訪問您的網(wǎng)站或系統(tǒng)時,第一個顯示的頁面將是 pages 控制器的 html_test_1 頁面。否則,將顯示 Rails 的默認(rèn)頁面。<\/li>\n<\/ul>\n
        \n    <\/title><meta content=\"width=device-width,initial-scale=1\" name=\"viewport\"><\/meta><meta content=\"yes\" name=\"apple-mobile-web-app-capable\"><\/meta><meta content=\"yes\" name=\"mobile-web-app-capable\"><\/meta><link href=\"\/icon.png\" rel=\"icon\" type=\"image\/png\"><\/link><link href=\"\/icon.svg\" rel=\"icon\" type=\"image\/svg+xml\"><\/link><link href=\"\/icon.png\" rel=\"apple-touch-icon\"><\/link><\/pre>\n<ul>\n<li>如果在創(chuàng)建控制器時傳遞了 <code>--skip-routes<\/code> 參數(shù),則可以忽略為創(chuàng)建的操作添加路由。完整的命令將變?yōu)?<code>rails g controller pages html_test_1 html_test_2 html_test_3 html_test_4 --skip-routes<\/code><\/li>\n<\/ul>\n<\/details>\n<h3>顯示 Rails 路由<\/h3>\n<details><summary>展開…<\/summary>使用終端,您可以指定控制器(使用 `-c`)來顯示路由,例如 pages 控制器:\n<pre><code>$ rails -v\nRails 8.0.0\n\n$ time rails new classless-css-local\n...\nreal    0m47.500s\nuser    0m33.052s\nsys     0m4.249s<\/code><\/pre>\n<p>或者,您可以使用以下命令顯示所有路由:<\/p>\n<pre><code>$ cd classless-css-local && code .<\/code><\/pre>\n<ul>\n<li>您也可以通過瀏覽器使用地址 <code>http:\/\/127.0.0.1:3000\/rails\/info\/routes<\/code> 訪問路由。請記住使用 <code>bin\/dev<\/code> 啟動開發(fā)服務(wù)器或使用項目根目錄中的 <code>rails server<\/code> 啟動標(biāo)準(zhǔn) Rails 服務(wù)器。開發(fā)服務(wù)器會“監(jiān)聽” JavaScript 文件和 CSS 文件的更改,以便進行必要的處理并將其提供給用戶。<\/li>\n<li>為了使這些文件的更改能夠即時在瀏覽器中反映出來,需要安裝諸如 Rails Live Reload 之類的 gem。<\/li>\n<\/ul>\n<\/details>\n<h3>我們將創(chuàng)建四個包含 HTML 內(nèi)容的頁面來測試 CSS 樣式。<\/h3>\n<p>Ruby on Rails 默認(rèn)使用 MVC(模型-視圖-控制器)架構(gòu)來啟動項目的組織。大部分代碼都組織在以下文件夾中:<\/p>\n<ul>\n<li>當(dāng)代碼與領(lǐng)域\/業(yè)務(wù)邏輯和數(shù)據(jù)相關(guān)時,請將其保存在 <code>app\/models<\/code> 文件夾中;<\/li>\n<li>與顯示相關(guān)的代碼(HTML、JSON、XML 等)將放在 <code>app\/views<\/code> 文件夾中;<\/li>\n<li>與請求生命周期相關(guān)的代碼將放在 <code>app\/controllers<\/code> 文件夾中;<\/li>\n<\/ul>\n<p>由于篇幅限制,后續(xù)步驟將被省略。  請注意,以上已經(jīng)對原文進行了偽原創(chuàng),并保留了圖片的原始格式和位置。  完整的偽原創(chuàng)需要對剩余部分進行類似的改寫。<\/p>"}	</script>
        	
        <meta http-equiv="Cache-Control" content="no-transform" />
        <meta http-equiv="Cache-Control" content="no-siteapp" />
        <script>var V_PATH="/";window.onerror=function(){ return true; };</script>
        </head>
        
        <body data-commit-time="2023-12-28T14:50:12+08:00" class="editor_body body2_2">
        <h1><a href="http://www.miracleart.cn/">国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂</a></h1>
        	<link rel="stylesheet" type="text/css" href="/static/csshw/stylehw.css">
        <header>
            <div   id="377j5v51b"   class="head">
                <div   id="377j5v51b"   class="haed_left">
                    <div   id="377j5v51b"   class="haed_logo">
                        <a href="http://www.miracleart.cn/zh/" title="" class="haed_logo_a">
                            <img src="/static/imghw/logo.png" alt="" class="haed_logoimg">
                        </a>
                    </div>
                    <div   id="377j5v51b"   class="head_nav">
                        <div   id="377j5v51b"   class="head_navs">
                            <a href="javascript:;" title="社區(qū)" class="head_nava head_nava-template1">社區(qū)</a>
                            <div   class="377j5v51b"   id="dropdown-template1" style="display: none;">
                                <div   id="377j5v51b"   class="languagechoose">
                                    <a href="http://www.miracleart.cn/zh/article.html" title="文章" class="languagechoosea on">文章</a>
                                    <a href="http://www.miracleart.cn/zh/faq/zt" title="合集" class="languagechoosea">合集</a>
                                    <a href="http://www.miracleart.cn/zh/wenda.html" title="問答" class="languagechoosea">問答</a>
                                </div>
                            </div>
                        </div>
        
                        <div   id="377j5v51b"   class="head_navs">
                            <a href="javascript:;" title="學(xué)習(xí)" class="head_nava head_nava-template1_1">學(xué)習(xí)</a>
                            <div   class="377j5v51b"   id="dropdown-template1_1" style="display: none;">
                                <div   id="377j5v51b"   class="languagechoose">
                                    <a href="http://www.miracleart.cn/zh/course.html" title="課程" class="languagechoosea on">課程</a>
                                    <a href="http://www.miracleart.cn/zh/dic/" title="編程詞典" class="languagechoosea">編程詞典</a>
                                </div>
                            </div>
                        </div>
        
                        <div   id="377j5v51b"   class="head_navs">
                            <a href="javascript:;" title="工具庫" class="head_nava head_nava-template1_2">工具庫</a>
                            <div   class="377j5v51b"   id="dropdown-template1_2" style="display: none;">
                                <div   id="377j5v51b"   class="languagechoose">
                                    <a href="http://www.miracleart.cn/zh/toolset/development-tools" title="開發(fā)工具" class="languagechoosea on">開發(fā)工具</a>
                                    <a href="http://www.miracleart.cn/zh/toolset/website-source-code" title="網(wǎng)站源碼" class="languagechoosea">網(wǎng)站源碼</a>
                                    <a href="http://www.miracleart.cn/zh/toolset/php-libraries" title="PHP 庫" class="languagechoosea">PHP 庫</a>
                                    <a href="http://www.miracleart.cn/zh/toolset/js-special-effects" title="JS特效" class="languagechoosea on">JS特效</a>
                                    <a href="http://www.miracleart.cn/zh/toolset/website-materials" title="網(wǎng)站素材" class="languagechoosea on">網(wǎng)站素材</a>
                                    <a href="http://www.miracleart.cn/zh/toolset/extension-plug-ins" title="擴展插件" class="languagechoosea on">擴展插件</a>
                                </div>
                            </div>
                        </div>
        
                        <div   id="377j5v51b"   class="head_navs">
                            <a href="http://www.miracleart.cn/zh/ai" title="AI工具" class="head_nava head_nava-template1_3">AI工具</a>
                        </div>
        
                        <div   id="377j5v51b"   class="head_navs">
                            <a href="javascript:;" title="休閑" class="head_nava head_nava-template1_3">休閑</a>
                            <div   class="377j5v51b"   id="dropdown-template1_3" style="display: none;">
                                <div   id="377j5v51b"   class="languagechoose">
                                    <a href="http://www.miracleart.cn/zh/game" title="游戲下載" class="languagechoosea on">游戲下載</a>
                                    <a href="http://www.miracleart.cn/zh/mobile-game-tutorial/" title="游戲教程" class="languagechoosea">游戲教程</a>
        
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                            <div   id="377j5v51b"   class="head_search">
                        <input id="key_words"  onkeydown="if (event.keyCode == 13) searchs('zh')" class="search-input" type="text" autocomplete="off" name="keywords" required="required" placeholder="Block,address,transaction,news" value="">
                        <a href="javascript:;" title="搜索"  onclick="searchs('zh')"><img src="/static/imghw/find.png" alt="搜索"></a>
                    </div>
                        <div   id="377j5v51b"   class="head_right">
                    <div   id="377j5v51b"   class="haed_language">
                        <a href="javascript:;" class="layui-btn haed_language_btn">簡體中文<i class="layui-icon layui-icon-triangle-d"></i></a>
                        <div   class="377j5v51b"   id="dropdown-template" style="display: none;">
                            <div   id="377j5v51b"   class="languagechoose">
                                                        <a href="javascript:;" title="簡體中文" class="languagechoosea">簡體中文</a>
                                                        <a href="javascript:setlang('en');" title="English" class="languagechoosea">English</a>
                                                        <a href="javascript:setlang('zh-tw');" title="繁體中文" class="languagechoosea">繁體中文</a>
                                                        <a href="javascript:setlang('ja');" title="日本語" class="languagechoosea">日本語</a>
                                                        <a href="javascript:setlang('ko');" title="???" class="languagechoosea">???</a>
                                                        <a href="javascript:setlang('ms');" title="Melayu" class="languagechoosea">Melayu</a>
                                                        <a href="javascript:setlang('fr');" title="Fran?ais" class="languagechoosea">Fran?ais</a>
                                                        <a href="javascript:setlang('de');" title="Deutsch" class="languagechoosea">Deutsch</a>
                                                    </div>
                        </div>
                    </div>
                    <span id="377j5v51b"    class="head_right_line"></span>
                                    <div style="display: block;" id="login" class="haed_login ">
                            <a href="javascript:;"  title="Login" class="haed_logina ">Login</a>
                        </div>
                        <div style="display: block;" id="reg" class="head_signup login">
                            <a href="javascript:;"  title="singup" class="head_signupa">singup</a>
                        </div>
                    
                </div>
            </div>
        </header>
        
        	
        	<main>
        		<div   id="377j5v51b"   class="Article_Details_main">
        			<div   id="377j5v51b"   class="Article_Details_main1">
        							<div   id="377j5v51b"   class="Article_Details_main1L">
        					<div   id="377j5v51b"   class="Article_Details_main1Lmain" id="Article_Details_main1Lmain">
        						<div   id="377j5v51b"   class="Article_Details_main1L1">目錄</div>
        						<div   id="377j5v51b"   class="Article_Details_main1L2" id="Article_Details_main1L2">
        							<!-- 左側(cè)懸浮,文章定位標(biāo)題1 id="Article_Details_main1L2s_1"-->
        															<div   id="377j5v51b"   class="Article_Details_main1L2s ">
        									<a href="#創(chuàng)建新的-Rails-應(yīng)用" title="創(chuàng)建新的 Rails 應(yīng)用" >創(chuàng)建新的 Rails 應(yīng)用</a>
        								</div>
        																<div   id="377j5v51b"   class="Article_Details_main1L2s ">
        									<a href="#使用-VSCode-或您喜歡的編輯器打開項目" title="使用 VSCode 或您喜歡的編輯器打開項目" >使用 VSCode 或您喜歡的編輯器打開項目</a>
        								</div>
        																<div   id="377j5v51b"   class="Article_Details_main1L2s ">
        									<a href="#使用-pages-控制器和-html-test-html-test-html-test-和-html-test-操作生成測試頁面" title="使用 pages 控制器和 html_test_1、html_test_2、html_test_3 和 html_test_4 操作生成測試頁面" >使用 pages 控制器和 html_test_1、html_test_2、html_test_3 和 html_test_4 操作生成測試頁面</a>
        								</div>
        																<div   id="377j5v51b"   class="Article_Details_main1L2s ">
        									<a href="#使用-VSCode-打開-code-config-routes-rb-code-文件" title="使用 VSCode 打開 <code>config/routes.rb</code> 文件" >使用 VSCode 打開 <code>config/routes.rb</code> 文件</a>
        								</div>
        																<div   id="377j5v51b"   class="Article_Details_main1L2s ">
        									<a href="#顯示-Rails-路由" title="顯示 Rails 路由" >顯示 Rails 路由</a>
        								</div>
        																<div   id="377j5v51b"   class="Article_Details_main1L2s ">
        									<a href="#我們將創(chuàng)建四個包含-HTML-內(nèi)容的頁面來測試-CSS-樣式" title="我們將創(chuàng)建四個包含 HTML 內(nèi)容的頁面來測試 CSS 樣式。" >我們將創(chuàng)建四個包含 HTML 內(nèi)容的頁面來測試 CSS 樣式。</a>
        								</div>
        														</div>
        					</div>
        				</div>
        							<div   id="377j5v51b"   class="Article_Details_main1M">
        					<div   id="377j5v51b"   class="phpgenera_Details_mainL1">
        						<a href="http://www.miracleart.cn/zh/" title="首頁"
        							class="phpgenera_Details_mainL1a">首頁</a>
        						<img src="/static/imghw/top_right.png" alt="" />
        												<a href="http://www.miracleart.cn/zh/web-designer.html"
        							class="phpgenera_Details_mainL1a">web前端</a>
        						<img src="/static/imghw/top_right.png" alt="" />
        												<a href="http://www.miracleart.cn/zh/css-tutorial.html"
        							class="phpgenera_Details_mainL1a">css教程</a>
        						<img src="/static/imghw/top_right.png" alt="" />
        						<span>Ruby on Rails 前端 Rápido com 框架 CSS Classless 或 Class-Light sem CDN</span>
        					</div>
        					
        					<div   id="377j5v51b"   class="Articlelist_txts">
        						<div   id="377j5v51b"   class="Articlelist_txts_info">
        							<h1 class="Articlelist_txts_title">Ruby on Rails 前端 Rápido com 框架 CSS Classless 或 Class-Light sem CDN</h1>
        							<div   id="377j5v51b"   class="Articlelist_txts_info_head">
        								<div   id="377j5v51b"   class="author_info">
        									<a href="http://www.miracleart.cn/zh/member/1468490.html"  class="author_avatar">
        									<img class="lazy"  data-src="https://img.php.cn/upload/avatar/000/000/001/66ea8170af62b832.png" src="/static/imghw/default1.png" alt="Barbara Streisand">
        									</a>
        									<div   id="377j5v51b"   class="author_detail">
        																			<a href="http://www.miracleart.cn/zh/member/1468490.html" class="author_name">Barbara Streisand</a>
                                        										</div>
        								</div>
                        			</div>
        							<span id="377j5v51b"    class="Articlelist_txts_time">Jan 13, 2025 am	 10:20 AM</span>
        														
        						</div>
        					</div>
        					<hr />
        					<div   id="377j5v51b"   class="article_main php-article">
        						<div   id="377j5v51b"   class="article-list-left detail-content-wrap content">
        						<ins class="adsbygoogle"
        							style="display:block; text-align:center;"
        							data-ad-layout="in-article"
        							data-ad-format="fluid"
        							data-ad-client="ca-pub-5902227090019525"
        							data-ad-slot="3461856641">
        						</ins>
        						
        
        					<p><img src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/000/000/173673484675675.jpg" class="lazy" alt="Ruby on Rails  Frontend Rápido com Frameworks CSS Classless ou Class-Light sem CDN"></p>
        <blockquote>
        <p>本文與之前的文章討論相同主題,但之前的文章使用了 CDN 托管 CSS 框架,本文將使用本地 CSS 文件,并將它們復(fù)制到項目文件夾中。</p>
        </blockquote>
        <h3 id="創(chuàng)建新的-Rails-應(yīng)用">創(chuàng)建新的 Rails 應(yīng)用</h3>
        <ul>
        <li>
        <code>rails serve</code> 命令前的時間用于顯示命令執(zhí)行的總時間。以下示例耗時 47 秒。</li>
        </ul>
        <pre class="brush:php;toolbar:false"><code>$ rails -v
        Rails 8.0.0
        
        $ time rails new classless-css-local
        ...
        real    0m47.500s
        user    0m33.052s
        sys     0m4.249s</code></pre>
        <p>Rails 8 基于其“無構(gòu)建”理念,默認(rèn)使用 Propshaft 作為資產(chǎn)管道庫,使用 Importmap 作為 JavaScript 庫。Importmap 不會對 JavaScript 進行任何處理。</p>
        <h3 id="使用-VSCode-或您喜歡的編輯器打開項目">使用 VSCode 或您喜歡的編輯器打開項目</h3>
        <pre class="brush:php;toolbar:false"><code>$ rails -v
        Rails 8.0.0
        
        $ time rails new classless-css-local
        ...
        real    0m47.500s
        user    0m33.052s
        sys     0m4.249s</code></pre>
        <h3>了解 Rails 默認(rèn)布局 <code>app/views/layouts/application.html.erb</code>
        </h3>
        <details><summary>展開…</summary>- 遵循約定優(yōu)于配置 (CoC) 原則,Rails 使用 `application.html.erb` 作為默認(rèn)布局來渲染所有頁面;
        - Rails 8 中的原始文件內(nèi)容應(yīng)與以下內(nèi)容相同或相似:
        <pre class="brush:php;toolbar:false"><code>$ cd classless-css-local && code .</code></pre>
        <ul>
        <li>
        <code><head></code> 標(biāo)簽內(nèi)的上半部分包含了頁面渲染和正常運行的重要結(jié)構(gòu)元素。<code><head></code> 標(biāo)簽用于包含元數(shù)據(jù)和重要資源,這些資源有助于配置頁面的行為(使用 JavaScript)、外觀(使用 CSS)、與其他系統(tǒng)和服務(wù)的關(guān)聯(lián)以及安全配置,例如 CSRF 和 CSP 保護;</li>
        <li>頁面的主要內(nèi)容將通過 ERB 標(biāo)簽在 <code><body></code> 內(nèi)渲染。此標(biāo)簽作為集成點,用于包含 Rails 動態(tài)渲染的視圖內(nèi)容;</li>
        </ul>
        </details>
        <h3 id="使用-pages-控制器和-html-test-html-test-html-test-和-html-test-操作生成測試頁面">使用 pages 控制器和 html_test_1、html_test_2、html_test_3 和 html_test_4 操作生成測試頁面</h3>
        <details><summary>展開…</summary>
        ```bash
        $ rails g controller pages html_test_1 html_test_2 html_test_3 html_test_4
              create  app/controllers/pages_controller.rb
               route  get "pages/html_test_1"
                      get "pages/html_test_2"
                      get "pages/html_test_3"
                      get "pages/html_test_4"
              invoke  erb
              create    app/views/pages
              create    app/views/pages/html_test_1.html.erb
              create    app/views/pages/html_test_2.html.erb
              create    app/views/pages/html_test_3.html.erb
              create    app/views/pages/html_test_4.html.erb
              invoke  helper
              create    app/helpers/pages_helper.rb
        ```
        <ul>
        <li>由于在創(chuàng)建控制器和操作時也添加了路由,因此您可以通過以下鏈接訪問任何創(chuàng)建的操作:</li>
        <li><code>localhost:3000/pages/html_test_1</code></li>
        <li><code>localhost:3000/pages/html_test_2</code></li>
        <li><code>localhost:3000/pages/html_test_3</code></li>
        <li><code>localhost:3000/pages/html_test_4</code></li>
        </ul>
        <h3 id="使用-VSCode-打開-code-config-routes-rb-code-文件">使用 VSCode 打開 <code>config/routes.rb</code> 文件</h3>
        <ul>
        <li>在文件末尾添加以下行,將頁面根目錄指向之前創(chuàng)建的 pages 控制器和 html_test_1 操作。這樣,訪問您的網(wǎng)站或系統(tǒng)時,第一個顯示的頁面將是 pages 控制器的 html_test_1 頁面。否則,將顯示 Rails 的默認(rèn)頁面。</li>
        </ul>
        <pre class='brush:php;toolbar:false;'>
            <title></title><meta content="width=device-width,initial-scale=1" name="viewport"></meta><meta content="yes" name="apple-mobile-web-app-capable"></meta><meta content="yes" name="mobile-web-app-capable"></meta><link href="/icon.png" rel="icon" type="image/png"></link><link href="/icon.svg" rel="icon" type="image/svg+xml"></link><link href="/icon.png" rel="apple-touch-icon"></link></pre>
        <ul>
        <li>如果在創(chuàng)建控制器時傳遞了 <code>--skip-routes</code> 參數(shù),則可以忽略為創(chuàng)建的操作添加路由。完整的命令將變?yōu)?<code>rails g controller pages html_test_1 html_test_2 html_test_3 html_test_4 --skip-routes</code></li>
        </ul>
        </details>
        <h3 id="顯示-Rails-路由">顯示 Rails 路由</h3>
        <details><summary>展開…</summary>使用終端,您可以指定控制器(使用 `-c`)來顯示路由,例如 pages 控制器:
        <pre class="brush:php;toolbar:false"><code>$ rails -v
        Rails 8.0.0
        
        $ time rails new classless-css-local
        ...
        real    0m47.500s
        user    0m33.052s
        sys     0m4.249s</code></pre>
        <p>或者,您可以使用以下命令顯示所有路由:</p>
        <pre class="brush:php;toolbar:false"><code>$ cd classless-css-local && code .</code></pre>
        <ul>
        <li>您也可以通過瀏覽器使用地址 <code>http://127.0.0.1:3000/rails/info/routes</code> 訪問路由。請記住使用 <code>bin/dev</code> 啟動開發(fā)服務(wù)器或使用項目根目錄中的 <code>rails server</code> 啟動標(biāo)準(zhǔn) Rails 服務(wù)器。開發(fā)服務(wù)器會“監(jiān)聽” JavaScript 文件和 CSS 文件的更改,以便進行必要的處理并將其提供給用戶。</li>
        <li>為了使這些文件的更改能夠即時在瀏覽器中反映出來,需要安裝諸如 Rails Live Reload 之類的 gem。</li>
        </ul>
        </details>
        <h3 id="我們將創(chuàng)建四個包含-HTML-內(nèi)容的頁面來測試-CSS-樣式">我們將創(chuàng)建四個包含 HTML 內(nèi)容的頁面來測試 CSS 樣式。</h3>
        <p>Ruby on Rails 默認(rèn)使用 MVC(模型-視圖-控制器)架構(gòu)來啟動項目的組織。大部分代碼都組織在以下文件夾中:</p>
        <ul>
        <li>當(dāng)代碼與領(lǐng)域/業(yè)務(wù)邏輯和數(shù)據(jù)相關(guān)時,請將其保存在 <code>app/models</code> 文件夾中;</li>
        <li>與顯示相關(guān)的代碼(HTML、JSON、XML 等)將放在 <code>app/views</code> 文件夾中;</li>
        <li>與請求生命周期相關(guān)的代碼將放在 <code>app/controllers</code> 文件夾中;</li>
        </ul>
        <p>由于篇幅限制,后續(xù)步驟將被省略。  請注意,以上已經(jīng)對原文進行了偽原創(chuàng),并保留了圖片的原始格式和位置。  完整的偽原創(chuàng)需要對剩余部分進行類似的改寫。</p><p>以上是Ruby on Rails 前端 Rápido com 框架 CSS Classless 或 Class-Light sem CDN的詳細(xì)內(nèi)容。更多信息請關(guān)注PHP中文網(wǎng)其他相關(guān)文章!</p>
        
        
        						</div>
        					</div>
        					<div   id="377j5v51b"   class="wzconShengming_sp">
        						<div   id="377j5v51b"   class="bzsmdiv_sp">本站聲明</div>
        						<div>本文內(nèi)容由網(wǎng)友自發(fā)貢獻,版權(quán)歸原作者所有,本站不承擔(dān)相應(yīng)法律責(zé)任。如您發(fā)現(xiàn)有涉嫌抄襲侵權(quán)的內(nèi)容,請聯(lián)系admin@php.cn</div>
        					</div>
        				</div>
        
        				<ins class="adsbygoogle"
             style="display:block"
             data-ad-format="autorelaxed"
             data-ad-client="ca-pub-5902227090019525"
             data-ad-slot="2507867629"></ins>
        
        
        
        				<div   id="377j5v51b"   class="AI_ToolDetails_main4sR">
        
        
        				<ins class="adsbygoogle"
                style="display:block"
                data-ad-client="ca-pub-5902227090019525"
                data-ad-slot="3653428331"
                data-ad-format="auto"
                data-full-width-responsive="true"></ins>
            
        
        
        					<!-- <div   id="377j5v51b"   class="phpgenera_Details_mainR4">
        						<div   id="377j5v51b"   class="phpmain1_4R_readrank">
        							<div   id="377j5v51b"   class="phpmain1_4R_readrank_top">
        								<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        									onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        									src="/static/imghw/hotarticle2.png" alt="" />
        								<h2>熱門文章</h2>
        							</div>
        							<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottom">
        															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
        									<a href="http://www.miracleart.cn/zh/faq/1796821119.html" title="指南:恒星刀片保存文件位置/保存文件丟失/不保存" class="phpgenera_Details_mainR4_bottom_title">指南:恒星刀片保存文件位置/保存文件丟失/不保存</a>
        									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
        										<span>4 周前</span>
        										<span>By DDD</span>
        									</div>
        								</div>
        															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
        									<a href="http://www.miracleart.cn/zh/faq/1796827210.html" title="Oguri Cap Build Guide |漂亮的德比志" class="phpgenera_Details_mainR4_bottom_title">Oguri Cap Build Guide |漂亮的德比志</a>
        									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
        										<span>2 周前</span>
        										<span>By Jack chen</span>
        									</div>
        								</div>
        															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
        									<a href="http://www.miracleart.cn/zh/faq/1796828723.html" title="Agnes Tachyon Build Guide |漂亮的德比志" class="phpgenera_Details_mainR4_bottom_title">Agnes Tachyon Build Guide |漂亮的德比志</a>
        									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
        										<span>1 周前</span>
        										<span>By Jack chen</span>
        									</div>
        								</div>
        															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
        									<a href="http://www.miracleart.cn/zh/faq/1796821436.html" title="沙丘:覺醒 - 高級行星學(xué)家Quest演練" class="phpgenera_Details_mainR4_bottom_title">沙丘:覺醒 - 高級行星學(xué)家Quest演練</a>
        									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
        										<span>3 周前</span>
        										<span>By Jack chen</span>
        									</div>
        								</div>
        															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
        									<a href="http://www.miracleart.cn/zh/faq/1796821278.html" title="約會一切:德克和哈珀關(guān)系指南" class="phpgenera_Details_mainR4_bottom_title">約會一切:德克和哈珀關(guān)系指南</a>
        									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
        										<span>3 周前</span>
        										<span>By Jack chen</span>
        									</div>
        								</div>
        														</div>
        							<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
        								<a href="http://www.miracleart.cn/zh/article.html">顯示更多</a>
        							</div>
        						</div>
        					</div> -->
        
        
        											<div   id="377j5v51b"   class="phpgenera_Details_mainR3">
        							<div   id="377j5v51b"   class="phpmain1_4R_readrank">
        								<div   id="377j5v51b"   class="phpmain1_4R_readrank_top">
        									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        										onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        										src="/static/imghw/hottools2.png" alt="" />
        									<h2>熱AI工具</h2>
        								</div>
        								<div   id="377j5v51b"   class="phpgenera_Details_mainR3_bottom">
        																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
        											<a href="http://www.miracleart.cn/zh/ai/undress-ai-tool" title="Undress AI Tool" class="phpmain_tab2_mids_top_img">
        												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173410641626608.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Undress AI Tool" />
        											</a>
        											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
        												<a href="http://www.miracleart.cn/zh/ai/undress-ai-tool" title="Undress AI Tool" class="phpmain_tab2_mids_title">
        													<h3>Undress AI Tool</h3>
        												</a>
        												<p>免費脫衣服圖片</p>
        											</div>
        										</div>
        																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
        											<a href="http://www.miracleart.cn/zh/ai/undresserai-undress" title="Undresser.AI Undress" class="phpmain_tab2_mids_top_img">
        												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173411540686492.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Undresser.AI Undress" />
        											</a>
        											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
        												<a href="http://www.miracleart.cn/zh/ai/undresserai-undress" title="Undresser.AI Undress" class="phpmain_tab2_mids_title">
        													<h3>Undresser.AI Undress</h3>
        												</a>
        												<p>人工智能驅(qū)動的應(yīng)用程序,用于創(chuàng)建逼真的裸體照片</p>
        											</div>
        										</div>
        																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
        											<a href="http://www.miracleart.cn/zh/ai/ai-clothes-remover" title="AI Clothes Remover" class="phpmain_tab2_mids_top_img">
        												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173411552797167.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="AI Clothes Remover" />
        											</a>
        											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
        												<a href="http://www.miracleart.cn/zh/ai/ai-clothes-remover" title="AI Clothes Remover" class="phpmain_tab2_mids_title">
        													<h3>AI Clothes Remover</h3>
        												</a>
        												<p>用于從照片中去除衣服的在線人工智能工具。</p>
        											</div>
        										</div>
        																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
        											<a href="http://www.miracleart.cn/zh/ai/clothoffio" title="Clothoff.io" class="phpmain_tab2_mids_top_img">
        												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173411529149311.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Clothoff.io" />
        											</a>
        											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
        												<a href="http://www.miracleart.cn/zh/ai/clothoffio" title="Clothoff.io" class="phpmain_tab2_mids_title">
        													<h3>Clothoff.io</h3>
        												</a>
        												<p>AI脫衣機</p>
        											</div>
        										</div>
        																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
        											<a href="http://www.miracleart.cn/zh/ai/video-swap" title="Video Face Swap" class="phpmain_tab2_mids_top_img">
        												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173414504068133.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Video Face Swap" />
        											</a>
        											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
        												<a href="http://www.miracleart.cn/zh/ai/video-swap" title="Video Face Swap" class="phpmain_tab2_mids_title">
        													<h3>Video Face Swap</h3>
        												</a>
        												<p>使用我們完全免費的人工智能換臉工具輕松在任何視頻中換臉!</p>
        											</div>
        										</div>
        																</div>
        								<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
        									<a href="http://www.miracleart.cn/zh/ai">顯示更多</a>
        								</div>
        							</div>
        						</div>
        					
        
        
        					<div   id="377j5v51b"   class="phpgenera_Details_mainR4">
        						<div   id="377j5v51b"   class="phpmain1_4R_readrank">
        							<div   id="377j5v51b"   class="phpmain1_4R_readrank_top">
        								<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        									onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        									src="/static/imghw/hotarticle2.png" alt="" />
        								<h2>熱門文章</h2>
        							</div>
        							<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottom">
        															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
        									<a href="http://www.miracleart.cn/zh/faq/1796821119.html" title="指南:恒星刀片保存文件位置/保存文件丟失/不保存" class="phpgenera_Details_mainR4_bottom_title">指南:恒星刀片保存文件位置/保存文件丟失/不保存</a>
        									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
        										<span>4 周前</span>
        										<span>By DDD</span>
        									</div>
        								</div>
        															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
        									<a href="http://www.miracleart.cn/zh/faq/1796827210.html" title="Oguri Cap Build Guide |漂亮的德比志" class="phpgenera_Details_mainR4_bottom_title">Oguri Cap Build Guide |漂亮的德比志</a>
        									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
        										<span>2 周前</span>
        										<span>By Jack chen</span>
        									</div>
        								</div>
        															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
        									<a href="http://www.miracleart.cn/zh/faq/1796828723.html" title="Agnes Tachyon Build Guide |漂亮的德比志" class="phpgenera_Details_mainR4_bottom_title">Agnes Tachyon Build Guide |漂亮的德比志</a>
        									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
        										<span>1 周前</span>
        										<span>By Jack chen</span>
        									</div>
        								</div>
        															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
        									<a href="http://www.miracleart.cn/zh/faq/1796821436.html" title="沙丘:覺醒 - 高級行星學(xué)家Quest演練" class="phpgenera_Details_mainR4_bottom_title">沙丘:覺醒 - 高級行星學(xué)家Quest演練</a>
        									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
        										<span>3 周前</span>
        										<span>By Jack chen</span>
        									</div>
        								</div>
        															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
        									<a href="http://www.miracleart.cn/zh/faq/1796821278.html" title="約會一切:德克和哈珀關(guān)系指南" class="phpgenera_Details_mainR4_bottom_title">約會一切:德克和哈珀關(guān)系指南</a>
        									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
        										<span>3 周前</span>
        										<span>By Jack chen</span>
        									</div>
        								</div>
        														</div>
        							<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
        								<a href="http://www.miracleart.cn/zh/article.html">顯示更多</a>
        							</div>
        						</div>
        					</div>
        
        
        											<div   id="377j5v51b"   class="phpgenera_Details_mainR3">
        							<div   id="377j5v51b"   class="phpmain1_4R_readrank">
        								<div   id="377j5v51b"   class="phpmain1_4R_readrank_top">
        									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        										onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        										src="/static/imghw/hottools2.png" alt="" />
        									<h2>熱工具</h2>
        								</div>
        								<div   id="377j5v51b"   class="phpgenera_Details_mainR3_bottom">
        																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
        											<a href="http://www.miracleart.cn/zh/toolset/development-tools/92" title="記事本++7.3.1" class="phpmain_tab2_mids_top_img">
        												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58ab96f0f39f7357.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="記事本++7.3.1" />
        											</a>
        											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
        												<a href="http://www.miracleart.cn/zh/toolset/development-tools/92" title="記事本++7.3.1" class="phpmain_tab2_mids_title">
        													<h3>記事本++7.3.1</h3>
        												</a>
        												<p>好用且免費的代碼編輯器</p>
        											</div>
        										</div>
        																			<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
        											<a href="http://www.miracleart.cn/zh/toolset/development-tools/93" title="SublimeText3漢化版" class="phpmain_tab2_mids_top_img">
        												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58ab97a3baad9677.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="SublimeText3漢化版" />
        											</a>
        											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
        												<a href="http://www.miracleart.cn/zh/toolset/development-tools/93" title="SublimeText3漢化版" class="phpmain_tab2_mids_title">
        													<h3>SublimeText3漢化版</h3>
        												</a>
        												<p>中文版,非常好用</p>
        											</div>
        										</div>
        																			<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
        											<a href="http://www.miracleart.cn/zh/toolset/development-tools/121" title="禪工作室 13.0.1" class="phpmain_tab2_mids_top_img">
        												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58ab97ecd1ab2670.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="禪工作室 13.0.1" />
        											</a>
        											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
        												<a href="http://www.miracleart.cn/zh/toolset/development-tools/121" title="禪工作室 13.0.1" class="phpmain_tab2_mids_title">
        													<h3>禪工作室 13.0.1</h3>
        												</a>
        												<p>功能強大的PHP集成開發(fā)環(huán)境</p>
        											</div>
        										</div>
        																			<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
        											<a href="http://www.miracleart.cn/zh/toolset/development-tools/469" title="Dreamweaver CS6" class="phpmain_tab2_mids_top_img">
        												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58d0e0fc74683535.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="Dreamweaver CS6" />
        											</a>
        											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
        												<a href="http://www.miracleart.cn/zh/toolset/development-tools/469" title="Dreamweaver CS6" class="phpmain_tab2_mids_title">
        													<h3>Dreamweaver CS6</h3>
        												</a>
        												<p>視覺化網(wǎng)頁開發(fā)工具</p>
        											</div>
        										</div>
        																			<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
        											<a href="http://www.miracleart.cn/zh/toolset/development-tools/500" title="SublimeText3 Mac版" class="phpmain_tab2_mids_top_img">
        												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58d34035e2757995.png?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="SublimeText3 Mac版" />
        											</a>
        											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
        												<a href="http://www.miracleart.cn/zh/toolset/development-tools/500" title="SublimeText3 Mac版" class="phpmain_tab2_mids_title">
        													<h3>SublimeText3 Mac版</h3>
        												</a>
        												<p>神級代碼編輯軟件(SublimeText3)</p>
        											</div>
        										</div>
        																	</div>
        								<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
        									<a href="http://www.miracleart.cn/zh/ai">顯示更多</a>
        								</div>
        							</div>
        						</div>
        										
        
        					
        					<div   id="377j5v51b"   class="phpgenera_Details_mainR4">
        						<div   id="377j5v51b"   class="phpmain1_4R_readrank">
        							<div   id="377j5v51b"   class="phpmain1_4R_readrank_top">
        								<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        									onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        									src="/static/imghw/hotarticle2.png" alt="" />
        								<h2>熱門話題</h2>
        							</div>
        							<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottom">
        															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
        									<a href="http://www.miracleart.cn/zh/faq/gmailyxdlrkzn" title="gmail郵箱登陸入口在哪里" class="phpgenera_Details_mainR4_bottom_title">gmail郵箱登陸入口在哪里</a>
        									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
        										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
        											<img src="/static/imghw/eyess.png" alt="" />
        											<span>8636</span>
        										</div>
        										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
        											<img src="/static/imghw/tiezi.png" alt="" />
        											<span>17</span>
        										</div>
        									</div>
        								</div>
        															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
        									<a href="http://www.miracleart.cn/zh/faq/java-tutorial" title="Java教程" class="phpgenera_Details_mainR4_bottom_title">Java教程</a>
        									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
        										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
        											<img src="/static/imghw/eyess.png" alt="" />
        											<span>1783</span>
        										</div>
        										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
        											<img src="/static/imghw/tiezi.png" alt="" />
        											<span>16</span>
        										</div>
        									</div>
        								</div>
        															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
        									<a href="http://www.miracleart.cn/zh/faq/cakephp-tutor" title="CakePHP 教程" class="phpgenera_Details_mainR4_bottom_title">CakePHP 教程</a>
        									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
        										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
        											<img src="/static/imghw/eyess.png" alt="" />
        											<span>1725</span>
        										</div>
        										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
        											<img src="/static/imghw/tiezi.png" alt="" />
        											<span>56</span>
        										</div>
        									</div>
        								</div>
        															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
        									<a href="http://www.miracleart.cn/zh/faq/laravel-tutori" title="Laravel 教程" class="phpgenera_Details_mainR4_bottom_title">Laravel 教程</a>
        									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
        										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
        											<img src="/static/imghw/eyess.png" alt="" />
        											<span>1577</span>
        										</div>
        										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
        											<img src="/static/imghw/tiezi.png" alt="" />
        											<span>28</span>
        										</div>
        									</div>
        								</div>
        															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
        									<a href="http://www.miracleart.cn/zh/faq/php-tutorial" title="PHP教程" class="phpgenera_Details_mainR4_bottom_title">PHP教程</a>
        									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
        										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
        											<img src="/static/imghw/eyess.png" alt="" />
        											<span>1440</span>
        										</div>
        										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
        											<img src="/static/imghw/tiezi.png" alt="" />
        											<span>31</span>
        										</div>
        									</div>
        								</div>
        														</div>
        							<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
        								<a href="http://www.miracleart.cn/zh/faq/zt">顯示更多</a>
        							</div>
        						</div>
        					</div>
        				</div>
        			</div>
        							<div   id="377j5v51b"   class="Article_Details_main2">
        					<div   id="377j5v51b"   class="phpgenera_Details_mainL4">
        						<div   id="377j5v51b"   class="phpmain1_2_top">
        							<a href="javascript:void(0);" class="phpmain1_2_top_title">Related knowledge<img
        									src="/static/imghw/index2_title2.png" alt="" /></a>
        						</div>
        						<div   id="377j5v51b"   class="phpgenera_Details_mainL4_info">
        
        													<div   id="377j5v51b"   class="phphistorical_Version2_mids">
        								<a href="http://www.miracleart.cn/zh/faq/1796823628.html" title="什么是'渲染障礙CSS”?" class="phphistorical_Version2_mids_img">
        									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175069693197174.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="什么是'渲染障礙CSS”?" />
        								</a>
        								<a href="http://www.miracleart.cn/zh/faq/1796823628.html" title="什么是'渲染障礙CSS”?" class="phphistorical_Version2_mids_title">什么是'渲染障礙CSS”?</a>
        								<span id="377j5v51b"    class="Articlelist_txts_time">Jun 24, 2025 am	 12:42 AM</span>
        								<p class="Articlelist_txts_p">CSS會阻塞頁面渲染是因為瀏覽器默認(rèn)將內(nèi)聯(lián)和外部CSS視為關(guān)鍵資源,尤其是使用引入的樣式表、頭部大量內(nèi)聯(lián)CSS以及未優(yōu)化的媒體查詢樣式。1.提取關(guān)鍵CSS并內(nèi)嵌至HTML;2.延遲加載非關(guān)鍵CSS通過JavaScript;3.使用media屬性優(yōu)化加載如打印樣式;4.壓縮合并CSS減少請求。建議使用工具提取關(guān)鍵CSS,結(jié)合rel="preload"異步加載,合理使用media延遲加載,避免過度拆分與復(fù)雜腳本控制。</p>
        							</div>
        														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
        								<a href="http://www.miracleart.cn/zh/faq/1796822133.html" title="外部與內(nèi)部CSS:最好的方法是什么?" class="phphistorical_Version2_mids_img">
        									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175035152168797.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="外部與內(nèi)部CSS:最好的方法是什么?" />
        								</a>
        								<a href="http://www.miracleart.cn/zh/faq/1796822133.html" title="外部與內(nèi)部CSS:最好的方法是什么?" class="phphistorical_Version2_mids_title">外部與內(nèi)部CSS:最好的方法是什么?</a>
        								<span id="377j5v51b"    class="Articlelist_txts_time">Jun 20, 2025 am	 12:45 AM</span>
        								<p class="Articlelist_txts_p">thebestapphachforcssdepprodsontheproject'sspefificneeds.forlargerprojects,externalcsSissBetterDuoSmaintoMaintainability andReusability; forsMallerProjectsorsingle-pageApplications,InternaltCsmightBemoresobleable.InternalCsmightBemorese.it.it'sclucialtobalancepopryseceneceenceprodrenceprodrenceNeed</p>
        							</div>
        														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
        								<a href="http://www.miracleart.cn/zh/faq/1796821588.html" title="我的CSS必須在較低的情況下嗎?" class="phphistorical_Version2_mids_img">
        									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175026415047262.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="我的CSS必須在較低的情況下嗎?" />
        								</a>
        								<a href="http://www.miracleart.cn/zh/faq/1796821588.html" title="我的CSS必須在較低的情況下嗎?" class="phphistorical_Version2_mids_title">我的CSS必須在較低的情況下嗎?</a>
        								<span id="377j5v51b"    class="Articlelist_txts_time">Jun 19, 2025 am	 12:29 AM</span>
        								<p class="Articlelist_txts_p">否,CSSDOESNOTHAVETOBEINLOWERCASE.CHOMENDENS,使用flowercaseisrecommondendendending:1)一致性和可讀性,2)避免使用促進性技術(shù),3)潛在的Performent FormanceBenefits,以及4)RightCollaboraboraboraboraboraboraboraboraboraboraboraboraboraboraboraboraborationWithInteams。</p>
        							</div>
        														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
        								<a href="http://www.miracleart.cn/zh/faq/1796821998.html" title="CSS案例靈敏度:了解重要的" class="phphistorical_Version2_mids_img">
        									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175034936181156.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="CSS案例靈敏度:了解重要的" />
        								</a>
        								<a href="http://www.miracleart.cn/zh/faq/1796821998.html" title="CSS案例靈敏度:了解重要的" class="phphistorical_Version2_mids_title">CSS案例靈敏度:了解重要的</a>
        								<span id="377j5v51b"    class="Articlelist_txts_time">Jun 20, 2025 am	 12:09 AM</span>
        								<p class="Articlelist_txts_p">cssismostlycaseminemintiment,buturlsandfontfamilynamesarecase敏感。1)屬性和valueslikeColor:紅色; prenotcase-sensive.2)urlsmustmustmatchtheserver'server'scase,例如</p>
        							</div>
        														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
        								<a href="http://www.miracleart.cn/zh/faq/1796828180.html" title="什么是AutoPrefixer,它如何工作?" class="phphistorical_Version2_mids_img">
        									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175139012130913.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="什么是AutoPrefixer,它如何工作?" />
        								</a>
        								<a href="http://www.miracleart.cn/zh/faq/1796828180.html" title="什么是AutoPrefixer,它如何工作?" class="phphistorical_Version2_mids_title">什么是AutoPrefixer,它如何工作?</a>
        								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 02, 2025 am	 01:15 AM</span>
        								<p class="Articlelist_txts_p">Autoprefixer是一個根據(jù)目標(biāo)瀏覽器范圍自動為CSS屬性添加廠商前綴的工具。1.它解決了手動維護前綴易出錯的問題;2.通過PostCSS插件形式工作,解析CSS、分析需加前綴的屬性、依配置生成代碼;3.使用步驟包括安裝插件、設(shè)置browserslist、在構(gòu)建流程中啟用;4.注意事項有不手動加前綴、保持配置更新、非所有屬性都加前綴、建議配合預(yù)處理器使用。</p>
        							</div>
        														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
        								<a href="http://www.miracleart.cn/zh/faq/1796821606.html" title="什么是CSS計數(shù)器?" class="phphistorical_Version2_mids_img">
        									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175026444127039.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="什么是CSS計數(shù)器?" />
        								</a>
        								<a href="http://www.miracleart.cn/zh/faq/1796821606.html" title="什么是CSS計數(shù)器?" class="phphistorical_Version2_mids_title">什么是CSS計數(shù)器?</a>
        								<span id="377j5v51b"    class="Articlelist_txts_time">Jun 19, 2025 am	 12:34 AM</span>
        								<p class="Articlelist_txts_p">csscounterscanautomationallymentermentermentections和lists.1)usecounter-ensettoInitializize,反插入式發(fā)芽,andcounter()orcounters()</p>
        							</div>
        														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
        								<a href="http://www.miracleart.cn/zh/faq/1796821580.html" title="CSS:何時重要(何時不)?" class="phphistorical_Version2_mids_img">
        									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175026403168895.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="CSS:何時重要(何時不)?" />
        								</a>
        								<a href="http://www.miracleart.cn/zh/faq/1796821580.html" title="CSS:何時重要(何時不)?" class="phphistorical_Version2_mids_title">CSS:何時重要(何時不)?</a>
        								<span id="377j5v51b"    class="Articlelist_txts_time">Jun 19, 2025 am	 12:27 AM</span>
        								<p class="Articlelist_txts_p">在CSS中,選擇器和屬性名不區(qū)分大小寫,而值、命名顏色、URL和自定義屬性則區(qū)分大小寫。1.選擇器和屬性名不區(qū)分大小寫,例如background-color和Background-Color相同。2.值中的十六進制顏色不區(qū)分大小寫,但命名顏色區(qū)分大小寫,如red有效而Red無效。3.URL區(qū)分大小寫,可能導(dǎo)致文件加載問題。4.自定義屬性(變量)區(qū)分大小寫,使用時需注意大小寫一致。</p>
        							</div>
        														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
        								<a href="http://www.miracleart.cn/zh/faq/1796821622.html" title="CSS中的情況敏感性:選擇器,屬性和值所解釋的" class="phphistorical_Version2_mids_img">
        									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
        										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175026469053848.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="CSS中的情況敏感性:選擇器,屬性和值所解釋的" />
        								</a>
        								<a href="http://www.miracleart.cn/zh/faq/1796821622.html" title="CSS中的情況敏感性:選擇器,屬性和值所解釋的" class="phphistorical_Version2_mids_title">CSS中的情況敏感性:選擇器,屬性和值所解釋的</a>
        								<span id="377j5v51b"    class="Articlelist_txts_time">Jun 19, 2025 am	 12:38 AM</span>
        								<p class="Articlelist_txts_p">cssselectorsand and propertynamesarecase-insimentimentiment.1)selectorSlike like'div'div'div'div'and'and'and'And'Andiv'areequivalent.2)propertioessuchas'backusuchas'backusuchas'backusuchas'backusuchas'backer'back-and'background and backorgook crolor'backorground-artreateateDthesementhesame.3)</p>
        							</div>
        													</div>
        
        													<a href="http://www.miracleart.cn/zh/web-designer.html" class="phpgenera_Details_mainL4_botton">
        								<span>See all articles</span>
        								<img src="/static/imghw/down_right.png" alt="" />
        							</a>
        											</div>
        				</div>
        					</div>
        	</main>
        	<footer>
            <div   id="377j5v51b"   class="footer">
                <div   id="377j5v51b"   class="footertop">
                    <img src="/static/imghw/logo.png" alt="">
                    <p>公益在線PHP培訓(xùn),幫助PHP學(xué)習(xí)者快速成長!</p>
                </div>
                <div   id="377j5v51b"   class="footermid">
                    <a href="http://www.miracleart.cn/zh/about/us.html">關(guān)于我們</a>
                    <a href="http://www.miracleart.cn/zh/about/disclaimer.html">免責(zé)聲明</a>
                    <a href="http://www.miracleart.cn/zh/update/article_0_1.html">Sitemap</a>
                </div>
                <div   id="377j5v51b"   class="footerbottom">
                    <p>
                        ? php.cn All rights reserved
                    </p>
                </div>
            </div>
        </footer>
        
        <input type="hidden" id="verifycode" value="/captcha.html">
        
        
        
        
        		<link rel='stylesheet' id='_main-css' href='/static/css/viewer.min.css?2' type='text/css' media='all' />
        	
        	
        	
        	
        	
        
        	
        	
        
        
        
        
        
        
        <footer>
        <div class="friendship-link">
        <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p>
        <a href="http://www.miracleart.cn/" title="国产av日韩一区二区三区精品">国产av日韩一区二区三区精品</a>
        
        <div class="friend-links">
        
        
        </div>
        </div>
        
        </footer>
        
        
        <script>
        (function(){
            var bp = document.createElement('script');
            var curProtocol = window.location.protocol.split(':')[0];
            if (curProtocol === 'https') {
                bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
            }
            else {
                bp.src = 'http://push.zhanzhang.baidu.com/push.js';
            }
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(bp, s);
        })();
        </script>
        </body><div id="82aeq" class="pl_css_ganrao" style="display: none;"><pre id="82aeq"></pre><object id="82aeq"></object><pre id="82aeq"><blockquote id="82aeq"><tfoot id="82aeq"></tfoot></blockquote></pre><delect id="82aeq"><tbody id="82aeq"><td id="82aeq"></td></tbody></delect><option id="82aeq"></option><tbody id="82aeq"></tbody><rt id="82aeq"></rt><center id="82aeq"></center><tbody id="82aeq"></tbody><table id="82aeq"></table><tr id="82aeq"><wbr id="82aeq"><cite id="82aeq"></cite></wbr></tr><small id="82aeq"><button id="82aeq"><samp id="82aeq"></samp></button></small><tfoot id="82aeq"></tfoot><pre id="82aeq"></pre><del id="82aeq"></del><blockquote id="82aeq"></blockquote><fieldset id="82aeq"></fieldset><bdo id="82aeq"></bdo><ul id="82aeq"></ul><em id="82aeq"><blockquote id="82aeq"><sup id="82aeq"></sup></blockquote></em><li id="82aeq"></li><strike id="82aeq"></strike><tr id="82aeq"></tr><td id="82aeq"></td><s id="82aeq"></s><tbody id="82aeq"></tbody><s id="82aeq"><small id="82aeq"><option id="82aeq"></option></small></s><center id="82aeq"><dl id="82aeq"><nav id="82aeq"></nav></dl></center><kbd id="82aeq"></kbd><xmp id="82aeq"><strike id="82aeq"><input id="82aeq"></input></strike></xmp><tr id="82aeq"></tr><tfoot id="82aeq"><rt id="82aeq"><strong id="82aeq"></strong></rt></tfoot><cite id="82aeq"><menu id="82aeq"></menu></cite><tr id="82aeq"></tr><tfoot id="82aeq"><source id="82aeq"><tbody id="82aeq"></tbody></source></tfoot><tr id="82aeq"></tr><tr id="82aeq"></tr><tfoot id="82aeq"><rt id="82aeq"><code id="82aeq"></code></rt></tfoot><strike id="82aeq"></strike><option id="82aeq"></option><bdo id="82aeq"></bdo><abbr id="82aeq"></abbr><tbody id="82aeq"></tbody><cite id="82aeq"><menu id="82aeq"><tr id="82aeq"></tr></menu></cite><samp id="82aeq"></samp><li id="82aeq"><button id="82aeq"><samp id="82aeq"></samp></button></li><code id="82aeq"></code><optgroup id="82aeq"></optgroup><cite id="82aeq"></cite><noframes id="82aeq"></noframes><tbody id="82aeq"></tbody><del id="82aeq"></del><li id="82aeq"><option id="82aeq"><delect id="82aeq"></delect></option></li><ul id="82aeq"></ul><kbd id="82aeq"></kbd><blockquote id="82aeq"></blockquote><menu id="82aeq"></menu><dfn id="82aeq"></dfn><dl id="82aeq"></dl><noframes id="82aeq"><del id="82aeq"><sup id="82aeq"></sup></del></noframes><table id="82aeq"></table><del id="82aeq"><dfn id="82aeq"><rt id="82aeq"></rt></dfn></del><code id="82aeq"><pre id="82aeq"><del id="82aeq"></del></pre></code><strong id="82aeq"><nav id="82aeq"><li id="82aeq"></li></nav></strong><dl id="82aeq"></dl><fieldset id="82aeq"></fieldset><td id="82aeq"><fieldset id="82aeq"><menu id="82aeq"></menu></fieldset></td><ul id="82aeq"></ul><input id="82aeq"><tbody id="82aeq"><em id="82aeq"></em></tbody></input><abbr id="82aeq"></abbr><button id="82aeq"></button><s id="82aeq"></s><strong id="82aeq"><optgroup id="82aeq"><abbr id="82aeq"></abbr></optgroup></strong><dfn id="82aeq"></dfn><input id="82aeq"></input><tbody id="82aeq"><noframes id="82aeq"><blockquote id="82aeq"></blockquote></noframes></tbody><li id="82aeq"></li><input id="82aeq"></input><sup id="82aeq"></sup><rt id="82aeq"></rt><source id="82aeq"></source><delect id="82aeq"><tbody id="82aeq"><td id="82aeq"></td></tbody></delect><xmp id="82aeq"><strike id="82aeq"><input id="82aeq"></input></strike></xmp><tfoot id="82aeq"></tfoot><nav id="82aeq"></nav><strong id="82aeq"><nav id="82aeq"><abbr id="82aeq"></abbr></nav></strong><xmp id="82aeq"></xmp><fieldset id="82aeq"></fieldset><object id="82aeq"></object><abbr id="82aeq"></abbr><option id="82aeq"><delect id="82aeq"><tr id="82aeq"></tr></delect></option><noframes id="82aeq"></noframes><del id="82aeq"></del><menu id="82aeq"><tbody id="82aeq"><em id="82aeq"></em></tbody></menu><table id="82aeq"><tr id="82aeq"><acronym id="82aeq"></acronym></tr></table><rt id="82aeq"></rt><object id="82aeq"></object><center id="82aeq"><th id="82aeq"><object id="82aeq"></object></th></center><dl id="82aeq"></dl><center id="82aeq"></center><code id="82aeq"></code><td id="82aeq"><cite id="82aeq"><menu id="82aeq"></menu></cite></td><button id="82aeq"><samp id="82aeq"><tr id="82aeq"></tr></samp></button><noframes id="82aeq"></noframes><pre id="82aeq"></pre><s id="82aeq"></s><samp id="82aeq"><tbody id="82aeq"><wbr id="82aeq"></wbr></tbody></samp><tr id="82aeq"></tr><abbr id="82aeq"></abbr><tbody id="82aeq"></tbody><center id="82aeq"><dl id="82aeq"><nav id="82aeq"></nav></dl></center><kbd id="82aeq"></kbd><option id="82aeq"></option><object id="82aeq"></object><strong id="82aeq"><optgroup id="82aeq"><abbr id="82aeq"></abbr></optgroup></strong><tbody id="82aeq"></tbody><pre id="82aeq"><td id="82aeq"><fieldset id="82aeq"></fieldset></td></pre><table id="82aeq"></table><samp id="82aeq"><tr id="82aeq"><wbr id="82aeq"></wbr></tr></samp><dl id="82aeq"></dl><source id="82aeq"></source><dfn id="82aeq"></dfn><tfoot id="82aeq"></tfoot><s id="82aeq"><bdo id="82aeq"><abbr id="82aeq"></abbr></bdo></s><pre id="82aeq"></pre><xmp id="82aeq"><tfoot id="82aeq"><rt id="82aeq"></rt></tfoot></xmp><li id="82aeq"></li><noframes id="82aeq"></noframes><samp id="82aeq"></samp><del id="82aeq"></del><nav id="82aeq"><li id="82aeq"><abbr id="82aeq"></abbr></li></nav><acronym id="82aeq"></acronym><cite id="82aeq"><abbr id="82aeq"><tr id="82aeq"></tr></abbr></cite><menu id="82aeq"></menu><pre id="82aeq"></pre><ul id="82aeq"></ul><pre id="82aeq"></pre><tr id="82aeq"></tr><optgroup id="82aeq"></optgroup><noframes id="82aeq"></noframes><strong id="82aeq"></strong><tbody id="82aeq"><s id="82aeq"><bdo id="82aeq"></bdo></s></tbody><menu id="82aeq"></menu><cite id="82aeq"><table id="82aeq"><tbody id="82aeq"></tbody></table></cite><noframes id="82aeq"></noframes><center id="82aeq"><dd id="82aeq"><tbody id="82aeq"></tbody></dd></center><nav id="82aeq"></nav><em id="82aeq"><blockquote id="82aeq"><dfn id="82aeq"></dfn></blockquote></em><tbody id="82aeq"><wbr id="82aeq"><cite id="82aeq"></cite></wbr></tbody><tr id="82aeq"></tr></div>
        
        </html>