Horje Website
CSS Responsive Web Design – Templates – Interior Design Template – CSS Code

CSS Responsive Web Design – Templates – Interior Design Template

CSS Responsive Web Design - Templates - Interior Design Template - CSS Code


 
  1. <!DOCTYPE html>
  2. <html lang="en">
  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://fonts.googleapis.com/css?family=Poppins">
  8. <style>
  9. body,h1,h2,h3,h4,h5 {font-family: "Poppins", sans-serif}
  10. body {font-size:16px;}
  11. .w3-half img{margin-bottom:-6px;margin-top:16px;opacity:0.8;cursor:pointer}
  12. .w3-half img:hover{opacity:1}
  13. </style>
  14. <body>
  15. <!-- Sidebar/menu -->
  16. <nav class="w3-sidebar w3-red w3-collapse w3-top w3-large w3-padding" style="z-index:3;width:300px;font-weight:bold;" id="mySidebar"><br>
  17. <a href="javascript:void(0)" onclick="w3_close()" class="w3-button w3-hide-large w3-display-topleft" style="width:100%;font-size:22px">Close Menu</a>
  18. <div class="w3-container">
  19. <h3 class="w3-padding-64"><b>Company<br>Name</b></h3>
  20. </div>
  21. <div class="w3-bar-block">
  22. <a href="#" onclick="w3_close()" class="w3-bar-item w3-button w3-hover-white">Home</a>
  23. <a href="#showcase" onclick="w3_close()" class="w3-bar-item w3-button w3-hover-white">Showcase</a>
  24. <a href="#services" onclick="w3_close()" class="w3-bar-item w3-button w3-hover-white">Services</a>
  25. <a href="#designers" onclick="w3_close()" class="w3-bar-item w3-button w3-hover-white">Designers</a>
  26. <a href="#packages" onclick="w3_close()" class="w3-bar-item w3-button w3-hover-white">Packages</a>
  27. <a href="#contact" onclick="w3_close()" class="w3-bar-item w3-button w3-hover-white">Contact</a>
  28. </div>
  29. </nav>
  30. <!-- Top menu on small screens -->
  31. <header class="w3-container w3-top w3-hide-large w3-red w3-xlarge w3-padding">
  32. <a href="javascript:void(0)" class="w3-button w3-red w3-margin-right" onclick="w3_open()">☰</a>
  33. <span>Company Name</span>
  34. </header>
  35. <!-- Overlay effect when opening sidebar on small screens -->
  36. <div class="w3-overlay w3-hide-large" onclick="w3_close()" style="cursor:pointer" title="close side menu" id="myOverlay"></div>
  37. <!-- !PAGE CONTENT! -->
  38. <div class="w3-main" style="margin-left:340px;margin-right:40px">
  39. <!-- Header -->
  40. <div class="w3-container" style="margin-top:80px" id="showcase">
  41. <h1 class="w3-jumbo"><b>Interior Design</b></h1>
  42. <h1 class="w3-xxxlarge w3-text-red"><b>Showcase.</b></h1>
  43. <hr style="width:50px;border:5px solid red" class="w3-round">
  44. </div>
  45. <!-- Photo grid (modal) -->
  46. <div class="w3-row-padding">
  47. <div class="w3-half">
  48. <img src="https://www.w3schools.com//w3images/kitchenconcrete.jpg" style="width:100%" onclick="onClick(this)" alt="Concrete meets bricks">
  49. <img src="https://www.w3schools.com//w3images/livingroom.jpg" style="width:100%" onclick="onClick(this)" alt="Light, white and tight scandinavian design">
  50. <img src="https://www.w3schools.com//w3images/diningroom.jpg" style="width:100%" onclick="onClick(this)" alt="White walls with designer chairs">
  51. </div>
  52. <div class="w3-half">
  53. <img src="https://www.w3schools.com//w3images/atrium.jpg" style="width:100%" onclick="onClick(this)" alt="Windows for the atrium">
  54. <img src="https://www.w3schools.com//w3images/bedroom.jpg" style="width:100%" onclick="onClick(this)" alt="Bedroom and office in one space">
  55. <img src="https://www.w3schools.com//w3images/livingroom2.jpg" style="width:100%" onclick="onClick(this)" alt="Scandinavian design">
  56. </div>
  57. </div>
  58. <!-- Modal for full size images on click-->
  59. <div id="modal01" class="w3-modal w3-black" style="padding-top:0" onclick="this.style.display='none'">
  60. <span class="w3-button w3-black w3-xxlarge w3-display-topright">×</span>
  61. <div class="w3-modal-content w3-animate-zoom w3-center w3-transparent w3-padding-64">
  62. <img id="img01" class="w3-image">
  63. <p id="caption"></p>
  64. </div>
  65. </div>
  66. <!-- Services -->
  67. <div class="w3-container" id="services" style="margin-top:75px">
  68. <h1 class="w3-xxxlarge w3-text-red"><b>Services.</b></h1>
  69. <hr style="width:50px;border:5px solid red" class="w3-round">
  70. <p>We are a interior design service that focus on what's best for your home and what's best for you!</p>
  71. <p>Some text about our services - what we do and what we offer. We are lorem ipsum consectetur adipiscing 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. Duis aute irure
  72. dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor
  73. incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
  74. </p>
  75. </div>
  76. <!-- Designers -->
  77. <div class="w3-container" id="designers" style="margin-top:75px">
  78. <h1 class="w3-xxxlarge w3-text-red"><b>Designers.</b></h1>
  79. <hr style="width:50px;border:5px solid red" class="w3-round">
  80. <p>The best team in the world.</p>
  81. <p>We are lorem ipsum consectetur adipiscing 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. Duis aute irure
  82. dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor
  83. incididunt ut labore et quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
  84. </p>
  85. <p><b>Our designers are thoughtfully chosen</b>:</p>
  86. </div>
  87. <!-- The Team -->
  88. <div class="w3-row-padding w3-grayscale">
  89. <div class="w3-col m4 w3-margin-bottom">
  90. <div class="w3-light-grey">
  91. <img src="https://www.w3schools.com//w3images/team2.jpg" alt="John" style="width:100%">
  92. <div class="w3-container">
  93. <h3>John Doe</h3>
  94. <p class="w3-opacity">CEO & Founder</p>
  95. <p>Phasellus eget enim eu lectus faucibus vestibulum. Suspendisse sodales pellentesque elementum.</p>
  96. </div>
  97. </div>
  98. </div>
  99. <div class="w3-col m4 w3-margin-bottom">
  100. <div class="w3-light-grey">
  101. <img src="https://www.w3schools.com//w3images/team1.jpg" alt="Jane" style="width:100%">
  102. <div class="w3-container">
  103. <h3>Jane Doe</h3>
  104. <p class="w3-opacity">Designer</p>
  105. <p>Phasellus eget enim eu lectus faucibus vestibulum. Suspendisse sodales pellentesque elementum.</p>
  106. </div>
  107. </div>
  108. </div>
  109. <div class="w3-col m4 w3-margin-bottom">
  110. <div class="w3-light-grey">
  111. <img src="https://www.w3schools.com//w3images/team3.jpg" alt="Mike" style="width:100%">
  112. <div class="w3-container">
  113. <h3>Mike Ross</h3>
  114. <p class="w3-opacity">Architect</p>
  115. <p>Phasellus eget enim eu lectus faucibus vestibulum. Suspendisse sodales pellentesque elementum.</p>
  116. </div>
  117. </div>
  118. </div>
  119. </div>
  120. <!-- Packages / Pricing Tables -->
  121. <div class="w3-container" id="packages" style="margin-top:75px">
  122. <h1 class="w3-xxxlarge w3-text-red"><b>Packages.</b></h1>
  123. <hr style="width:50px;border:5px solid red" class="w3-round">
  124. <p>Some text our prices. Lorem ipsum consectetur adipiscing 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. Duis aute irure</p>
  125. </div>
  126. <div class="w3-row-padding">
  127. <div class="w3-half w3-margin-bottom">
  128. <ul class="w3-ul w3-light-grey w3-center">
  129. <li class="w3-dark-grey w3-xlarge w3-padding-32">Basic</li>
  130. <li class="w3-padding-16">Floorplanning</li>
  131. <li class="w3-padding-16">10 hours support</li>
  132. <li class="w3-padding-16">Photography</li>
  133. <li class="w3-padding-16">20% furniture discount</li>
  134. <li class="w3-padding-16">Good deals</li>
  135. <li class="w3-padding-16">
  136. <h2>$ 199</h2>
  137. <span class="w3-opacity">per room</span>
  138. </li>
  139. <li class="w3-light-grey w3-padding-24">
  140. <button class="w3-button w3-white w3-padding-large w3-hover-black">Sign Up</button>
  141. </li>
  142. </ul>
  143. </div>
  144. <div class="w3-half">
  145. <ul class="w3-ul w3-light-grey w3-center">
  146. <li class="w3-red w3-xlarge w3-padding-32">Pro</li>
  147. <li class="w3-padding-16">Floorplanning</li>
  148. <li class="w3-padding-16">50 hours support</li>
  149. <li class="w3-padding-16">Photography</li>
  150. <li class="w3-padding-16">50% furniture discount</li>
  151. <li class="w3-padding-16">GREAT deals</li>
  152. <li class="w3-padding-16">
  153. <h2>$ 249</h2>
  154. <span class="w3-opacity">per room</span>
  155. </li>
  156. <li class="w3-light-grey w3-padding-24">
  157. <button class="w3-button w3-red w3-padding-large w3-hover-black">Sign Up</button>
  158. </li>
  159. </ul>
  160. </div>
  161. </div>
  162. <!-- Contact -->
  163. <div class="w3-container" id="contact" style="margin-top:75px">
  164. <h1 class="w3-xxxlarge w3-text-red"><b>Contact.</b></h1>
  165. <hr style="width:50px;border:5px solid red" class="w3-round">
  166. <p>Do you want us to style your home? Fill out the form and fill me in with the details 🙂 We love meeting new people!</p>
  167. <form action="/action_page.php" target="_blank">
  168. <div class="w3-section">
  169. <label>Name</label>
  170. <input class="w3-input w3-border" type="text" name="Name" required>
  171. </div>
  172. <div class="w3-section">
  173. <label>Email</label>
  174. <input class="w3-input w3-border" type="text" name="Email" required>
  175. </div>
  176. <div class="w3-section">
  177. <label>Message</label>
  178. <input class="w3-input w3-border" type="text" name="Message" required>
  179. </div>
  180. <button type="submit" class="w3-button w3-block w3-padding-large w3-red w3-margin-bottom">Send Message</button>
  181. </form>
  182. </div>
  183. <!-- End page content -->
  184. </div>
  185. <!-- W3.CSS Container -->
  186. <div class="w3-light-grey w3-container w3-padding-32" style="margin-top:75px;padding-right:58px"><p class="w3-right">Powered by <a href="https://www.w3schools.com/w3css/default.asp" title="W3.CSS" target="_blank" class="w3-hover-opacity">w3.css</a></p></div>
  187. <script>
  188. // Script to open and close sidebar
  189. function w3_open() {
  190. document.getElementById("mySidebar").style.display = "block";
  191. document.getElementById("myOverlay").style.display = "block";
  192. }
  193. function w3_close() {
  194. document.getElementById("mySidebar").style.display = "none";
  195. document.getElementById("myOverlay").style.display = "none";
  196. }
  197. // Modal Image Gallery
  198. function onClick(element) {
  199. document.getElementById("img01").src = element.src;
  200. document.getElementById("modal01").style.display = "block";
  201. var captionText = document.getElementById("caption");
  202. captionText.innerHTML = element.alt;
  203. }
  204. </script>
  205. </body>
  206. </html>



Try Your Self ->



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

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