Advertisement
Guest User

Untitled

a guest
Nov 13th, 2018
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.78 KB | None | 0 0
  1.  
  2. <style>
  3.  
  4.  
  5. #jacob {
  6.  
  7.  
  8. position:absolute;top:123px;
  9. position:absolute;left: 196px;
  10. border-radius: 50%;
  11. width: 42px;
  12. height: 42px;
  13.  
  14.  
  15.  
  16. }
  17.  
  18.  
  19.  
  20.  
  21. #jacob {
  22.  
  23.  
  24. opacity: 0;
  25. transition: opacity 200ms ease-in-out;
  26.  
  27.  
  28. }
  29.  
  30. #jacob:hover {
  31.  
  32.  
  33. opacity: 1;
  34.  
  35. }
  36.  
  37.  
  38.  
  39. .jacobpic {
  40.  
  41. transition: transform 300ms ease-in-out;
  42.  
  43.  
  44. }
  45.  
  46. .jacobpic:hover {
  47.  
  48.  
  49. -ms-transform: scale(1.5);
  50. -webkit-transform: scale(1.5);
  51. transform: scale(1.5);
  52. }
  53.  
  54.  
  55.  
  56.  
  57. .tablewidth {
  58.  
  59. width:50%;
  60. border: 1px solid lightgray;
  61. margin:20px;
  62.  
  63.  
  64. }
  65.  
  66.  
  67. .mark {
  68.  
  69. opacity:0;
  70. transition: opacity 200ms ease-in-out;
  71. margin:20px;
  72. }
  73.  
  74. .mark:hover {
  75.  
  76. opacity:1;
  77.  
  78.  
  79. }
  80.  
  81. .mark {
  82.  
  83.  
  84. border-radius: 50%;
  85. width:45px;
  86. height:45px;
  87. display:inline;
  88. transition: transform 400ms ease-in-out 100ms;
  89.  
  90. position:absolute;top:54px;
  91. position:absolute;left:175px;
  92.  
  93.  
  94.  
  95. }
  96.  
  97. .mark:hover {
  98.  
  99. transform: scale(1.05);
  100. -webkit-transform: scale(1.05);
  101. -ms-transform: scale (1.05);
  102.  
  103. }
  104.  
  105.  
  106.  
  107. .tableformark {
  108.  
  109. border: 2px solid lightgray;
  110. border-radius : 5px;
  111. margin: 0 0;
  112. width:80%;
  113.  
  114. }
  115. .headdataformark {
  116.  
  117. color: #ffcc33;
  118.  
  119.  
  120.  
  121. }
  122.  
  123. .headdataformark {
  124.  
  125. border: 1px solid lightgray;
  126.  
  127. }
  128.  
  129. .profilepic {
  130.  
  131. border-radius:50%;
  132. width:100px;
  133. height:100px;
  134. margin: 0 40%;
  135. }
  136.  
  137. .profilepic {
  138.  
  139.  
  140. opacity: 0.3;
  141. transition: opacity 400ms ease-in-out;
  142.  
  143.  
  144.  
  145. }
  146.  
  147.  
  148. .profilepic:hover {
  149.  
  150. opacity: 1;
  151.  
  152. }
  153.  
  154.  
  155. .profilepic {
  156.  
  157. transition: transform 2s ease-in-out;
  158.  
  159. }
  160.  
  161.  
  162. .profilepic:hover {
  163. -webkit-transform: rotate(360deg);
  164. -ms-transform: rotate(360deg);
  165. transform: rotate(360deg);
  166.  
  167. }
  168.  
  169.  
  170. </style>
  171.  
  172.  
  173. </head>
  174.  
  175.  
  176.  
  177. <body>
  178. <div class="tablewidth">
  179. <table class="table">
  180. <thead class="thead-light">
  181. <tr>
  182. <th scope="col">#</th>
  183. <th scope="col">First</th>
  184. <th scope="col">Last</th>
  185. <th scope="col">Handle</th>
  186. </tr>
  187. </thead>
  188. <tbody>
  189. <tr>
  190. <th scope="row">1</th>
  191. <td>Mark</td>
  192. <td>Otto</td>
  193. <td>@mdo</td>
  194. </tr>
  195. <tr>
  196. <th scope="row">2</th>
  197. <td>Jacob</td>
  198. <td>Thornton</td>
  199. <td>@fat</td>
  200. </tr>
  201. <tr>
  202. <th scope="row">3</th>
  203. <td>Larry</td>
  204. <td>the Bird</td>
  205. <td>@twitter</td>
  206. </tr>
  207. </tbody>
  208. </table>
  209. </div>
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217. <!-- Button trigger modal -->
  218.  
  219. <img id="jacob" src="../lect1.html/images/man.png" data-toggle="modal" data-target="#exampleModalCenter"/>
  220.  
  221. <!-- Modal -->
  222. <div class="modal fade" id="exampleModalCenter" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
  223. <div class="modal-dialog modal-dialog-centered" role="document">
  224. <div class="modal-content">
  225. <div class="modal-header">
  226. <h5 class="modal-title" id="exampleModalCenterTitle">Employee's Profile</h5>
  227.  
  228. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  229. <span aria-hidden="true">&times;</span>
  230. </button>
  231.  
  232. </div>
  233. <div class="modal-body">
  234. <img class="profilepic" src="../lect1.html/images/boy.png"/>
  235.  
  236.  
  237. <hr />
  238. <table class="table table-dark" class="tableforjacob">
  239. <tr class="tableforjacob">
  240. <th class="headdataforjacob" class="tableforjacob" >Name</th>
  241. <th class="headdataforjacob" class="tableforjacob" >Age</th>
  242. <th class="headdataforjacob" class="tableforjacob" >Job</th>
  243. </tr>
  244.  
  245. <tr class="tableforjacob">
  246. <td class="tableforjacob">Jacob Thornton</td>
  247. <td class="tableforjacob">35</td>
  248. <td class="tableforjacob">Sofrware Engineer</td>
  249. </tr>
  250. </table>
  251. <h5>Quick Brief</h5>
  252. <hr />
  253. <p class="jacobpara">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s
  254.  
  255. </p>
  256. </div>
  257. <div class="modal-footer">
  258. <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
  259. <button type="button" class="btn btn-primary">Save changes</button>
  260. </div>
  261. </div>
  262. </div>
  263. </div>
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278. <!-- Button trigger modal -->
  279.  
  280. <img class="mark" src="../lect1.html/images/boy.png" data-toggle="modal" data-target="#exampleModalCenter"/>
  281.  
  282. <!-- Modal -->
  283. <div class="modal fade" id="exampleModalCenter" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
  284. <div class="modal-dialog modal-dialog-centered" role="document">
  285. <div class="modal-content">
  286. <div class="modal-header">
  287. <h5 class="modal-title" id="exampleModalCenterTitle">Employee's Profile</h5>
  288.  
  289. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  290. <span aria-hidden="true">&times;</span>
  291. </button>
  292.  
  293. </div>
  294. <div class="modal-body">
  295. <img class="profilepic" src="../lect1.html/images/boy.png"/>
  296. <hr />
  297. <table class="table table-dark" class="tableformark">
  298. <tr class="tableformark">
  299. <th class="headdataformark" class="tableformark" >Name</th>
  300. <th class="headdataformark" class="tableformark" >Age</th>
  301. <th class="headdataformark" class="tableformark" >Job</th>
  302. </tr>
  303.  
  304. <tr class="tableformark">
  305. <td class="tableformark">Mark Otto</td>
  306. <td class="tableformark">30</td>
  307. <td class="tableformark">Web developer</td>
  308. </tr>
  309. </table>
  310. <h5>Quick Brief</h5>
  311. <hr />
  312. <p class="markpara">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s
  313.  
  314. </p>
  315. </div>
  316. <div class="modal-footer">
  317. <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
  318. <button type="button" class="btn btn-primary">Save changes</button>
  319. </div>
  320. </div>
  321. </div>
  322. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement