Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
W
wiki-frontend
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • 互联网应用开发
  • wiki-frontend
  • Wiki
  • php front desc

php front desc · Changes

Page history
wangqs created page: php front desc authored Jun 08, 2016 by 互联网应用开发's avatar 互联网应用开发
Show whitespace changes
Inline Side-by-side
Showing with 16 additions and 0 deletions
+16 -0
  • php-front-desc.md php-front-desc.md +16 -0
  • No files found.
php-front-desc.md 0 → 100644
View page @ e83fc423
1. 如何在css中使用背景图片
```
.test {
background-image: url("<?=UrlBuilder::build_static('images/example_02.jpg')?>");
height: 100px;
width: 200px;
color: #ffffff;
}
```
2. 如何在html中使用静态图片
```
<img style="border:red 1px solid;" src="<?=UrlBuilder::build_static('images/example_02.jpg')?>">
```
\ No newline at end of file
Clone repository
  • Home
  • php front desc