vonko1988

CSS_sass_homework_task2.css

Feb 28th, 2014
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.47 KB | None | 0 0
  1. body {
  2.   /*Making the pictures to be raranged horizontally*/
  3.   /*This .hidden is the class of the images that will be shown zoomed*/
  4.   /*We want the radio buttons to be hidden*/
  5. }
  6. body label {
  7.   display: inline-block;
  8. }
  9. body img {
  10.   width: 12em;
  11. }
  12. body img.hidden {
  13.   position: absolute;
  14.   width: 40em;
  15.   display: none;
  16. }
  17. body input {
  18.   display: none;
  19.   /*When we check the input the zoomed images will show up*/
  20. }
  21. body input:checked + img {
  22.   display: block;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment