• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

agragregra/OptimizedHTML-4: OptimizedHTML 4: Startup HTML template based on Gulp ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

agragregra/OptimizedHTML-4

开源软件地址(OpenSource Url):

https://github.com/agragregra/OptimizedHTML-4

开源编程语言(OpenSource Language):

SCSS 96.5%

开源软件介绍(OpenSource Introduction):

OptimizedHTML 4:
Startup HTML template based on Gulp & Bootstrap 5

Start HTML Template

Author: WebDesign Master

OptimizedHTML is all-inclusive start HTML5 template with Bootstrap 5 (grid & reboot), Gulp, Sass, Browsersync, Autoprefixer, Clean-CSS, Uglify, Rsync and Bower (libs path) support. The template contains a .htaccess file with caching rules for web server.

OptimizedHTML 4 Start Template uses the best practices of web development.

Cross-browser compatibility: IE9+.

The template uses a Sass with Sass or Scss syntax (optional).

How to use OptimizedHTML

  1. Download OptimizedHTML 4 from GitHub;
  2. Install Node Modules: npm i;
  3. Run the template: gulp.

Gulp tasks:

  • gulp: run default gulp task (sass, js, watch, browserSync) for web development;
  • rsync: project deployment on the server from dist folder via RSYNC;

Rules for working with the starting HTML template

  1. All HTML files should have similar initial content as in app/index.html;
  2. Template Basic Images Start comment in app/index.html - all your custom template basic images (og:image for social networking, favicons for a variety of devices);
  3. Custom Browsers Color Start comment in app/index.html: set the color of the browser head on a variety of devices;
  4. Custom HTML comment in app/index.html - all your custom HTML;
  5. For installing new jQuery library, just run the command "bower i plugin-name" in the terminal. Libraries are automatically placed in the folder app/libs. Bower must be installed in the system (npm i -g bower). Then place all jQuery libraries paths in the 'libs' task (gulpfile.js);
  6. All custom JS located in app/js/common.js;
  7. All Sass vars placed in app/sass/_vars.sass | app/scss/_vars.scss;
  8. All Bootstrap media queries placed in app/sass/_media.sass | app/scss/_media.scss;
  9. All libraries CSS styles placed in app/sass/_libs.sass | app/scss/_libs.scss;
  10. Rename ht.access to .htaccess before place it in your web server. This file contain rules for files caching on web server.



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap