Horje Website
CSS Responsive Web Design – Kitchen SinkDemo Template – CSS Code

CSS Responsive Web Design – Kitchen SinkDemo Template

CSS Responsive Web Design - Kitchen Sink/Demo Template - CSS Code


 
  1. <!DOCTYPE html>
  2. <html>
  3. <title>W3.CSS Template</title>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
  7. <link rel="stylesheet" href="https://www.w3schools.com/lib/w3-theme-black.css">
  8. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css">
  9. <body>
  10. <!-- Side Navigation -->
  11. <nav class="w3-sidebar w3-bar-block w3-card w3-animate-left w3-center" style="display:none" id="mySidebar">
  12. <h1 class="w3-xxxlarge w3-text-theme">Side Navigation</h1>
  13. <button class="w3-bar-item w3-button" onclick="w3_close()">Close <i class="fa fa-remove"></i></button>
  14. <a href="#" class="w3-bar-item w3-button">Link 1</a>
  15. <a href="#" class="w3-bar-item w3-button">Link 2</a>
  16. <a href="#" class="w3-bar-item w3-button">Link 3</a>
  17. <a href="#" class="w3-bar-item w3-button">Link 4</a>
  18. </nav>
  19. <!-- Header -->
  20. <header class="w3-container w3-theme w3-padding" id="myHeader">
  21. <i onclick="w3_open()" class="fa fa-bars w3-xlarge w3-button w3-theme"></i>
  22. <div class="w3-center">
  23. <h4>BEAUTIFUL RESPONSIVE WEB SITES</h4>
  24. <h1 class="w3-xxxlarge w3-animate-bottom">BUILT WITH W3.CSS</h1>
  25. <div class="w3-padding-32">
  26. <button class="w3-btn w3-xlarge w3-dark-grey w3-hover-light-grey" onclick="document.getElementById('id01').style.display='block'" style="font-weight:900;">LEARN W3.CSS</button>
  27. </div>
  28. </div>
  29. </header>
  30. <!-- Modal -->
  31. <div id="id01" class="w3-modal">
  32. <div class="w3-modal-content w3-card-4 w3-animate-top">
  33. <header class="w3-container w3-theme-l1">
  34. <span onclick="document.getElementById('id01').style.display='none'"
  35. class="w3-button w3-display-topright">×</span>
  36. <h4>Oh snap! We just showed you a modal..</h4>
  37. <h5>Because we can <i class="fa fa-smile-o"></i></h5>
  38. </header>
  39. <div class="w3-padding">
  40. <p>Cool huh? Ok, enough teasing around..</p>
  41. <p>Go to our <a class="w3-btn" href="/w3css/default.asp">W3.CSS Tutorial</a> to learn more!</p>
  42. </div>
  43. <footer class="w3-container w3-theme-l1">
  44. <p>Modal footer</p>
  45. </footer>
  46. </div>
  47. </div>
  48. <div class="w3-row-padding w3-center w3-margin-top">
  49. <div class="w3-third">
  50. <div class="w3-card w3-container" style="min-height:460px">
  51. <h3>Responsive</h3><br>
  52. <i class="fa fa-desktop w3-margin-bottom w3-text-theme" style="font-size:120px"></i>
  53. <p>Built-in responsiveness</p>
  54. <p>Mobile first fluid grid</p>
  55. <p>Fits any screen sizes</p>
  56. <p>PC Tablet and Mobile</p>
  57. </div>
  58. </div>
  59. <div class="w3-third">
  60. <div class="w3-card w3-container" style="min-height:460px">
  61. <h3>Standard CSS</h3><br>
  62. <i class="fa fa-css3 w3-margin-bottom w3-text-theme" style="font-size:120px"></i>
  63. <p>Standard CSS only</p>
  64. <p>Easy to learn</p>
  65. <p>No need for jQuery</p>
  66. <p>No JavaScript library</p>
  67. </div>
  68. </div>
  69. <div class="w3-third">
  70. <div class="w3-card w3-container" style="min-height:460px">
  71. <h3>Design</h3><br>
  72. <i class="fa fa-diamond w3-margin-bottom w3-text-theme" style="font-size:120px"></i>
  73. <p>Paper like design</p>
  74. <p>Bold colors and shadows</p>
  75. <p>Equal across platforms</p>
  76. <p>Equal across devices</p>
  77. </div>
  78. </div>
  79. </div>
  80. <div class="w3-container">
  81. <hr>
  82. <div class="w3-center">
  83. <h2>Color Classes</h2>
  84. </div>
  85. <div class="w3-row">
  86. <div class="w3-col w3-container m2 w3-red"><p>Red</p></div>
  87. <div class="w3-col w3-container m2 w3-blue"><p>Blue</p></div>
  88. <div class="w3-col w3-container m2 w3-blue-grey"><p>Blue Grey</p></div>
  89. <div class="w3-col w3-container m2 w3-teal"><p>Teal</p></div>
  90. <div class="w3-col w3-container m2 w3-yellow"><p>Yellow</p></div>
  91. <div class="w3-col w3-container m2 w3-orange"><p>Orange</p></div>
  92. </div>
  93. <hr>
  94. <div class="w3-center">
  95. <h2>Built-In Responsiveness</h2>
  96. <p class="w3-large">Resize the page to see the effect!</p>
  97. </div>
  98. <br>
  99. <div class="w3-row w3-border">
  100. <div class="w3-half w3-container w3-blue w3-border">
  101. <h5>w3-half</h5>
  102. <p>The w3-half class uses half (50%) of the screen window.</p>
  103. <p>On small screens (max 600 pixels) it automatically resizes to full screen width.</p>
  104. </div>
  105. <div class="w3-half w3-container">
  106. <h5>w3-half</h5>
  107. </div>
  108. </div>
  109. <br>
  110. <div class="w3-row w3-border">
  111. <div class="w3-third w3-container w3-green">
  112. <h5>w3-third</h5>
  113. <p>The w3-third class uses one third (33.33%) of the screen widow.</p>
  114. <p>On small screens (max 600 pixels) it automatically resizes to full screen width.</p>
  115. </div>
  116. <div class="w3-third w3-container">
  117. <h5>w3-third</h5>
  118. </div>
  119. <div class="w3-third w3-container">
  120. <h5>w3-third</h5>
  121. </div>
  122. </div>
  123. <br>
  124. <div class="w3-row w3-border">
  125. <div class="w3-quarter w3-container w3-red">
  126. <h5>w3-quarter</h5>
  127. <p>The w3-quarter class uses one quarter (25%) of the screen window.</p>
  128. <p>On small screens (max 600 pixels) it automatically resizes to full screen width.</p>
  129. </div>
  130. <div class="w3-quarter w3-container">
  131. <h5>w3-quarter</h5>
  132. </div>
  133. <div class="w3-quarter w3-container">
  134. <h5>w3-quarter</h5>
  135. </div>
  136. <div class="w3-quarter w3-container">
  137. <h5>w3-quarter</h5>
  138. </div>
  139. </div>
  140. <div class="w3-center">
  141. <h2>Containers</h2>
  142. <p>Use containers to create headers, sections and footers.</p>
  143. </div>
  144. <header class="w3-container w3-blue-grey">
  145. <h2>Header</h2>
  146. </header>
  147. <div class="w3-padding w3-white w3-display-container">
  148. <span onclick="this.parentElement.style.display='none'" class="w3-button w3-display-topright"><i class="fa fa-remove"></i></span>
  149. <h2>London</h2>
  150. <p>London is the capital city of England. It is the most populous city in the United Kingdom,
  151. with a metropolitan area of over 13 million inhabitants.</p>
  152. <p>Standing on the River Thames, London has been a major settlement for two millennia,
  153. its history going back to its founding by the Romans, who named it Londinium.</p>
  154. <p>By the way, you can add a close icon to all containers if you want the ability to hide them. Look to your right!</p>
  155. </div>
  156. <footer class="w3-container w3-blue-grey">
  157. <h5>Footer</h5>
  158. <p class="w3-opacity">Footer information goes here</p>
  159. </footer>
  160. <hr>
  161. <div class="w3-center">
  162. <h2>Color Themes</h2>
  163. <p>The color themes have been designed to work harmoniously with each other.</p>
  164. </div>
  165. </div>
  166. <div class="w3-row-padding">
  167. <div class="w3-half">
  168. <div class="w3-card white">
  169. <div class="w3-container w3-indigo">
  170. <h3>Theme Indigo</h3>
  171. </div>
  172. <div class="w3-container">
  173. <h3 class="w3-text-indigo">Movies 2014</h3>
  174. </div>
  175. <ul class="w3-ul w3-border-top">
  176. <li>
  177. <h3>Frozen</h3>
  178. <p>The response to the animations was ridiculous</p>
  179. </li>
  180. <li>
  181. <h3>The Fault in Our Stars</h3>
  182. <p>Touching, gripping and genuinely well made</p>
  183. </li>
  184. <li>
  185. <h3>The Avengers</h3>
  186. <p>A huge success for Marvel and Disney</p>
  187. </li>
  188. </ul>
  189. <div class="w3-container w3-indigo w3-large"><span class="w3-right">Next</span></div>
  190. </div>
  191. </div>
  192. <div class="w3-half">
  193. <div class="w3-card white">
  194. <div class="w3-container w3-theme">
  195. <h3>Theme</h3>
  196. </div>
  197. <div class="w3-container">
  198. <h3 class="w3-text-theme">Movies 2014</h3>
  199. </div>
  200. <ul class="w3-ul w3-border-top">
  201. <li>
  202. <h3>Frozen</h3>
  203. <p>The response to the animations was ridiculous</p>
  204. </li>
  205. <li>
  206. <h3>The Fault in Our Stars</h3>
  207. <p>Touching, gripping and genuinely well made</p>
  208. </li>
  209. <li>
  210. <h3>The Avengers</h3>
  211. <p>A huge success for Marvel and Disney</p>
  212. </li>
  213. </ul>
  214. <div class="w3-container w3-theme w3-large"><span class="w3-right">Next</span></div>
  215. </div>
  216. </div>
  217. </div>
  218. <div class="w3-container w3-center">
  219. <hr>
  220. <h3>Paper-like Cards with Shadows</h3>
  221. </div>
  222. <div class="w3-row-padding">
  223. <div class="w3-third">
  224. <div class="w3-card">
  225. <img src="https://www.w3schools.com//w3images/car.jpg" alt="Car" style="width:100%">
  226. <div class="w3-container">
  227. <p>w3-card</p>
  228. </div>
  229. </div>
  230. </div>
  231. <div class="w3-third">
  232. <div class="w3-card-4">
  233. <img src="https://www.w3schools.com//w3images/car.jpg" alt="Car" style="width:100%">
  234. <div class="w3-container">
  235. <p>w3-card-4</p>
  236. </div>
  237. </div>
  238. </div>
  239. <div class="w3-third">
  240. <div class="w3-card-4">
  241. <img src="https://www.w3schools.com//w3images/car.jpg" alt="Car" style="width:100%">
  242. <div class="w3-container">
  243. <p>w3-card-4</p>
  244. </div>
  245. </div>
  246. </div>
  247. </div>
  248. <div class="w3-container">
  249. <hr>
  250. <div class="w3-center">
  251. <h2>Tables</h2>
  252. <p w3-class="w3-large">Don't worry. W3.CSS takes care of your tables.</p>
  253. </div>
  254. <div class="w3-responsive w3-card-4">
  255. <table class="w3-table w3-striped w3-bordered">
  256. <thead>
  257. <tr class="w3-theme">
  258. <th>First Name</th>
  259. <th>Last Name</th>
  260. <th>Points</th>
  261. </tr>
  262. </thead>
  263. <tbody>
  264. <tr>
  265. <td>Jill</td>
  266. <td>Smith</td>
  267. <td>50</td>
  268. </tr>
  269. <tr class="w3-white">
  270. <td>Eve</td>
  271. <td>Jackson</td>
  272. <td>94</td>
  273. </tr>
  274. <tr>
  275. <td>Adam</td>
  276. <td>Johnson</td>
  277. <td>67</td>
  278. </tr>
  279. </tbody>
  280. </table>
  281. </div>
  282. <hr>
  283. <h2 class="w3-center">Forms and Lists</h2>
  284. </div>
  285. <div class="w3-row-padding">
  286. <div class="w3-half">
  287. <form class="w3-container w3-card-4">
  288. <h2>Input Form</h2>
  289. <div class="w3-section">
  290. <input class="w3-input" type="text" required>
  291. <label>Name</label>
  292. </div>
  293. <div class="w3-section">
  294. <input class="w3-input" type="text" required>
  295. <label>Email</label>
  296. </div>
  297. <div class="w3-section">
  298. <input class="w3-input" type="text" required>
  299. <label>Subject</label>
  300. </div>
  301. <div class="w3-row">
  302. <div class="w3-half">
  303. <input id="milk" class="w3-check" type="checkbox" checked="checked">
  304. <label>Milk</label>
  305. <br>
  306. <input id="sugar" class="w3-check" type="checkbox">
  307. <label>Sugar</label>
  308. <br>
  309. <input id="lemon" class="w3-check" type="checkbox" disabled>
  310. <label>Lemon (Disabled)</label>
  311. <br><br>
  312. </div>
  313. <div class="w3-half">
  314. <input id="male" class="w3-radio" type="radio" name="gender" value="male" checked>
  315. <label>Male</label>
  316. <br>
  317. <input id="female" class="w3-radio" type="radio" name="gender" value="female">
  318. <label>Female</label>
  319. <br>
  320. <input id="unknown" class="w3-radio" type="radio" name="gender" value="" disabled>
  321. <label> Don't know (Disabled)</label>
  322. </div>
  323. </div>
  324. </form>
  325. </div>
  326. <div class="w3-half">
  327. <div class="w3-card-4 w3-container">
  328. <h2>Lists</h2>
  329. <ul class="w3-ul w3-margin-bottom">
  330. <li>Jill</li>
  331. <li>Eve</li>
  332. <li>Adam</li>
  333. </ul>
  334. <br>
  335. <ul class="w3-ul w3-border w3-hoverable">
  336. <li class="w3-theme">Jill</li>
  337. <li>Eve</li>
  338. <li>Adam</li>
  339. <li>Steve</li>
  340. </ul>
  341. <br>
  342. </div>
  343. </div>
  344. </div>
  345. <hr>
  346. <h2 class="w3-center">Progress Bars</h2>
  347. <div class="w3-container">
  348. <div class="w3-light-gray">
  349. <div id="myBar" class="w3-center w3-padding w3-theme" style="width:5%">5%</div>
  350. </div><br>
  351. <button class="w3-btn w3-theme" onclick="move()">Click Me</button>
  352. </div>
  353. <hr>
  354. <h2 class="w3-center">Slideshows</h2>
  355. <div class="w3-content" style="max-width:800px;position:relative">
  356. <img class="mySlides w3-animate-opacity" src="https://www.w3schools.com//w3images/snow.jpg" style="width:100%">
  357. <img class="mySlides w3-animate-opacity" src="https://www.w3schools.com//w3images/lights.jpg" style="width:100%">
  358. <img class="mySlides w3-animate-opacity" src="https://www.w3schools.com//w3images/mountains.jpg" style="width:100%">
  359. <img class="mySlides w3-animate-opacity" src="https://www.w3schools.com//w3images/forest.jpg" style="width:100%">
  360. <a class="w3-button w3-hover-dark-grey" style="position:absolute;top:45%;left:0;" onclick="plusDivs(-1)">❮</a>
  361. <a class="w3-button w3-hover-dark-grey" style="position:absolute;top:45%;right:0;" onclick="plusDivs(+1)">❯</a>
  362. </div>
  363. <div class="w3-container">
  364. <hr>
  365. <h2 class="w3-center">Navigation</h2>
  366. <div class="w3-bar w3-theme">
  367. <a href="#" class="w3-bar-item w3-button w3-padding-16">Home</a>
  368. <a href="#" class="w3-bar-item w3-button w3-padding-16">Link 1</a>
  369. <div class="w3-dropdown-hover">
  370. <button class="w3-button w3-padding-16">
  371. Dropdown <i class="fa fa-caret-down"></i>
  372. </button>
  373. <div class="w3-dropdown-content w3-card-4 w3-bar-block">
  374. <a href="javascript:void(0)" class="w3-bar-item w3-button">Link 1</a>
  375. <a href="javascript:void(0)" class="w3-bar-item w3-button">Link 2</a>
  376. <a href="javascript:void(0)" class="w3-bar-item w3-button">Link 3</a>
  377. </div>
  378. </div>
  379. </div>
  380. <hr>
  381. <h2 class="w3-center">Accordions</h2>
  382. <button onclick="myAccFunc('Demo1')" class="w3-padding-16 w3-theme w3-button w3-block w3-left-align">Open Section 1</button>
  383. <div id="Demo1" class="w3-hide">
  384. <div class="w3-container">
  385. <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
  386. </div>
  387. </div>
  388. <button onclick="myAccFunc('Demo2')" class="w3-padding-16 w3-theme w3-button w3-block w3-left-align">Open Section 2</button>
  389. <div id="Demo2" class="w3-hide">
  390. <a href="#" class="w3-button w3-block w3-left-align">Link 1</a>
  391. <a href="#" class="w3-button w3-block w3-left-align">Link 2</a>
  392. <a href="#" class="w3-button w3-block w3-left-align">Link 3</a>
  393. </div>
  394. <button onclick="myAccFunc('Demo3')" class="w3-padding-16 w3-theme w3-button w3-block w3-left-align">Open Section 3</button>
  395. <div id="Demo3" class="w3-hide w3-black">
  396. <div class="w3-container">
  397. <p>Accordion with Images:</p>
  398. <img src="https://www.w3schools.com/img_snowtops.jpg" style="width:30%;" class="w3-animate-zoom">
  399. <p>French Alps</p>
  400. </div>
  401. </div>
  402. <hr>
  403. <h2 class="w3-center">Tabs</h2>
  404. <div class="w3-border">
  405. <div class="w3-bar w3-theme">
  406. <button class="w3-bar-item w3-button testbtn w3-padding-16" onclick="openCity(event,'London')">London</button>
  407. <button class="w3-bar-item w3-button testbtn w3-padding-16" onclick="openCity(event,'Paris')">Paris</button>
  408. <button class="w3-bar-item w3-button testbtn w3-padding-16" onclick="openCity(event,'Tokyo')">Tokyo</button>
  409. </div>
  410. <div id="London" class="w3-container city w3-animate-opacity">
  411. <h2>London</h2>
  412. <p>London is the capital city of England.</p>
  413. <p>It is the most populous city in the United Kingdom, with a metropolitan area of over 13 million inhabitants.</p>
  414. </div>
  415. <div id="Paris" class="w3-container city w3-animate-opacity">
  416. <h2>Paris</h2>
  417. <p>Paris is the capital of France.</p>
  418. <p>The Paris area is one of the largest population centers in Europe, with more than 12 million inhabitants.</p>
  419. </div>
  420. <div id="Tokyo" class="w3-container city w3-animate-opacity">
  421. <h2>Tokyo</h2>
  422. <p>Tokyo is the capital of Japan.</p>
  423. <p>It is the center of the Greater Tokyo Area, and the most populous metropolitan area in the world.</p>
  424. </div>
  425. </div>
  426. <hr>
  427. <h2 class="w3-center">Buttons</h2>
  428. <div class="w3-center">
  429. <br>
  430. <a class="w3-button w3-theme">Button</a>
  431. <a class="w3-button w3-theme">Button</a>
  432. <a class="w3-button w3-theme-d3 w3-disabled">Button</a>
  433. <br><br>
  434. <a class="w3-button w3-circle w3-large w3-black"><i class="fa fa-plus"></i></a>
  435. <a class="w3-button w3-circle w3-large w3-theme"><i class="fa fa-plus"></i></a>
  436. <a class="w3-button w3-circle w3-large w3-card-4"><i class="fa fa-plus"></i></a>
  437. </div>
  438. <br>
  439. <div class="w3-center">
  440. <div class="w3-dropdown-hover">
  441. <button class="w3-button w3-theme">Dropdown <i class="fa fa-caret-down"></i></button>
  442. <div class="w3-dropdown-content w3-bar-block w3-border">
  443. <a href="#" class="w3-bar-item w3-button">Link 1</a>
  444. <a href="#" class="w3-bar-item w3-button">Link 2</a>
  445. <a href="#" class="w3-bar-item w3-button">Link 3</a>
  446. </div>
  447. </div>
  448. </div>
  449. </div>
  450. <hr>
  451. <div class="w3-center">
  452. <h2>Pagination</h2>
  453. <!-- Pagination -->
  454. <div class="w3-center w3-padding-32">
  455. <div class="w3-bar">
  456. <a href="#" class="w3-bar-item w3-button w3-hover-theme">«</a>
  457. <a href="#" class="w3-bar-item w3-button w3-theme w3-hover-theme">1</a>
  458. <a href="#" class="w3-bar-item w3-button w3-hover-theme">2</a>
  459. <a href="#" class="w3-bar-item w3-button w3-hover-theme">3</a>
  460. <a href="#" class="w3-bar-item w3-button w3-hover-theme">4</a>
  461. <a href="#" class="w3-bar-item w3-button w3-hover-theme">5</a>
  462. <a href="#" class="w3-bar-item w3-button w3-hover-theme">»</a>
  463. </div>
  464. </div>
  465. </div>
  466. <br>
  467. <!-- Footer -->
  468. <footer class="w3-container w3-theme-dark w3-padding-16">
  469. <h3>Footer</h3>
  470. <p>Powered by <a href="https://www.w3schools.com/w3css/default.asp" target="_blank">w3.css</a></p>
  471. <div style="position:relative;bottom:55px;" class="w3-tooltip w3-right">
  472. <span class="w3-text w3-theme-light w3-padding">Go To Top</span> 
  473. <a class="w3-text-white" href="#myHeader"><span class="w3-xlarge">
  474. <i class="fa fa-chevron-circle-up"></i></span></a>
  475. </div>
  476. <p>Remember to check out our  <a href="w3css_references.asp" class="w3-btn w3-theme-light" target="_blank">W3.CSS Reference</a></p>
  477. </footer>
  478. <!-- Script for Sidebar, Tabs, Accordions, Progress bars and slideshows -->
  479. <script>
  480. // Side navigation
  481. function w3_open() {
  482. var x = document.getElementById("mySidebar");
  483. x.style.width = "100%";
  484. x.style.fontSize = "40px";
  485. x.style.paddingTop = "10%";
  486. x.style.display = "block";
  487. }
  488. function w3_close() {
  489. document.getElementById("mySidebar").style.display = "none";
  490. }
  491. // Tabs
  492. function openCity(evt, cityName) {
  493. var i;
  494. var x = document.getElementsByClassName("city");
  495. for (i = 0; i < x.length; i++) {
  496. x[i].style.display = "none";
  497. }
  498. var activebtn = document.getElementsByClassName("testbtn");
  499. for (i = 0; i < x.length; i++) {
  500. activebtn[i].className = activebtn[i].className.replace(" w3-dark-grey", "");
  501. }
  502. document.getElementById(cityName).style.display = "block";
  503. evt.currentTarget.className += " w3-dark-grey";
  504. }
  505. var mybtn = document.getElementsByClassName("testbtn")[0];
  506. mybtn.click();
  507. // Accordions
  508. function myAccFunc(id) {
  509. var x = document.getElementById(id);
  510. if (x.className.indexOf("w3-show") == -1) {
  511. x.className += " w3-show";
  512. } else {
  513. x.className = x.className.replace(" w3-show", "");
  514. }
  515. }
  516. // Slideshows
  517. var slideIndex = 1;
  518. function plusDivs(n) {
  519. slideIndex = slideIndex + n;
  520. showDivs(slideIndex);
  521. }
  522. function showDivs(n) {
  523. var x = document.getElementsByClassName("mySlides");
  524. if (n > x.length) {slideIndex = 1}
  525. if (n < 1) {slideIndex = x.length} ;
  526. for (i = 0; i < x.length; i++) {
  527. x[i].style.display = "none";
  528. }
  529. x[slideIndex-1].style.display = "block";
  530. }
  531. showDivs(1);
  532. // Progress Bars
  533. function move() {
  534. var elem = document.getElementById("myBar");
  535. var width = 5;
  536. var id = setInterval(frame, 10);
  537. function frame() {
  538. if (width == 100) {
  539. clearInterval(id);
  540. } else {
  541. width++;
  542. elem.style.width = width + '%';
  543. elem.innerHTML = width * 1 + '%';
  544. }
  545. }
  546. }
  547. </script>
  548. </body>
  549. </html>



Try Your Self ->



Published:
July 18, 2020
Author:
admin
Category:
CSS Responsive, CSS Source Code
Views:
22

This article was posted in CSS Responsive, CSS Source Code and tagged , , . Bookmark the permalink. Follow comments with the RSS feed for this post.Post a Comment or leave a trackback: Trackback URL.

Leave a Reply

Your email address will not be published. Required fields are marked *

 

Horje © 2011 - 2023