Advertisement
Guest User

Untitled

a guest
Feb 18th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.51 KB | None | 0 0
  1. body {
  2.   width: 280px;
  3.   margin: 0;
  4.   padding: 0;
  5. }
  6.  
  7. .shooter-1 {
  8.   padding: 55px 0 55px 0;
  9.  
  10.   background-color: #fcf8e3;
  11.   border-bottom: 1px dashed #cccccc;
  12. }
  13.  
  14. .shooter-2 {
  15.   padding: 55px 0 55px 0;
  16.  
  17.   background-color: #d9edf7;
  18. }
  19.  
  20. ul {
  21.   display: flex;
  22.   justify-content: space-between;
  23.   width: 200px;
  24.   height: 25px;
  25.   margin: 0 auto;
  26.   padding: 10px 15px 10px 15px;
  27.   overflow: hidden;
  28.  
  29.   list-style: none;
  30.  
  31.   background-color: white;
  32.   border-radius: 2px;
  33.   box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  34. }
  35.  
  36. li {
  37.   position: relative;
  38.  
  39.   width: 22px;
  40.   height: 22px;
  41.  
  42.   font-size: 0;
  43.  
  44.   background-color: #333333;
  45.   border: 1px solid black;
  46.   border-radius: 50%;
  47. }
  48.  /*серые кружочки внутри*/
  49. {
  50.   width: 10px;
  51.   height: 10px;
  52.   margin: 6px auto;
  53.  
  54.   background-color: #999999;
  55.   border-radius: 50%;
  56. }
  57.  
  58. li > div{ /*белые кружочки*/
  59.   position: absolute;
  60.   top: -2px;
  61.   left: -2px;
  62.  
  63.   width: 26px;
  64.   height: 26px;
  65.  
  66.   background-color: #f5f5f5;
  67.   border-radius: 50%;
  68.   box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
  69. }
  70. /*Белые палочки*/
  71. .lever{
  72.   position: absolute;
  73.   top: 12px;
  74.   left: 11px;
  75.  
  76.   width: 5px;
  77.   height: 25px;
  78.  
  79.   background-color: #f5f5f5;
  80.   box-shadow: -1px 15px 2px rgba(0, 0, 0, 0.3), 1px 15px 2px rgba(0, 0, 0, 0.3);
  81. }
  82.  
  83. .miss div{
  84.   display: none;
  85. }
  86.  
  87. .shooter-2 li:last-child>div {
  88.   display: none;
  89. }
  90.  
  91. .shooter-2 li:first-child>div{
  92.   display: none;
  93. }
  94.  
  95. .shooter-2 li:nth-child(4)>div{
  96.   display: none;
  97. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement