Skip to content

ZexzZswz/first

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

爱心动画页面

一个美丽的爱心动画效果页面。

部署到 GitHub Pages

步骤:

  1. 在 GitHub 上创建新仓库

    • 访问 https://github.com/new
    • 仓库名称:例如 loveamazing(可以���定义)
    • 选择 Public(公开)
    • 不要勾选 "Initialize this repository with a README"
    • 点击 "Create repository"
  2. 在本地初始化 Git 并推送代码

    # 在项目目录下执行
    git init
    git add .
    git commit -m "Initial commit"
    git branch -M main
    git remote add origin https://github.com/你的用户名/仓库名.git
    git push -u origin main
  3. 启用 GitHub Pages

    • 进入仓库页面
    • 点击 Settings(设置)
    • 在左侧菜单找到 Pages
    • Source 选择 "Deploy from a branch"
    • Branch 选择 "main",文件夹选择 "/ (root)"
    • 点击 Save
  4. 访问你的网站

    • 等待几分钟后,访问:https://你的用户名.github.io/仓库名/
    • 例如:https://love99you.github.io/loveamazing/

本地预览

直接在浏览器中打开 index.html 文件即可预览效果。

About

My first

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published