Responsive Web Design
  • Responsive Web Design 課程
  • 1 簡介
    • 1.1 講者簡介
    • 1.2 課程簡介
  • 2 版面概念解析
  • 3 Media Query
    • 3.1 媒體類型 Media Type
    • 3.2 媒體描述 Media Features
    • 3.3 練習
  • 4 Viewport
    • 4.1 Viewport 定義
    • 4.2 HTML Viewport Meta
  • 5 Bootstrap Grid System
    • 5.1 載入 Grid 相關 CSS
    • 5.2 Grid System
    • 5.3 breakpoint 練習
  • 6 Transition 轉場效果
    • 6.1 第一個 transition
    • 6.2 transition-property
    • 6.3 transition-duration
    • 6.4 transition-timing-function
    • 6.5 transition-delay
    • 6.6 transition 簡寫
    • 6.7 練習
  • 7 Grid 排版模式
    • 7.1 基本觀念及術語
    • 7.2 Grid Container
    • 7.3 Grid Items
    • 7.4 練習
  • 8 Animation 動畫效果
    • 8.1 第一個 animation
    • 8.2 關於 keyframes
    • 8.3 相同元素套用多個 animation
    • 8.4 animation-iteration-count
    • 8.5 animation-direction
    • 8.6 animation-delay
    • 8.7 animation-fill-mode
    • 8.8 animation-play-state
    • 8.9 animation-timing-function
    • 8.10 animation 簡寫
    • 8.11 練習
  • 9 練習
  • 10 RWD 作業
  • 11 手機連本機端網站
  • 12 參考資料
  • 13 補充:AOS
Powered by GitBook
On this page
  • 使用相同區網方式
  • 找到自己電腦的 IP
  • Mac
  • Windows

11 手機連本機端網站

Previous10 RWD 作業Next12 參考資料

Last updated 1 year ago

使用相同區網方式

在本機端開發的時候,我們常常會使用 http://localhost 這樣的網址來開發,但問題在實做 RWD 的時候,有時會希望在手機上能實際瀏覽,那就讓手機及電腦連到相同區網即可,那我們就可以在手機上的瀏覽器輸入網址來連線。

進行以下步驟之前,需先確認自己本機端有網站正在執行。例如:http://127.0.0.1:5500

找到自己電腦的 IP

如下示意:

Mac

註:如果 Mac 想透過像以下的 Windows 那樣輸入指令的話,就在終端機中,輸入 ifconfig 尋找。(不是 ipconfig。)

Windows

開啟「命令提示字元」: