Difference between revisions of "Team:IISER Berhampur"

Line 688: Line 688:
 
}
 
}
  
.footer-sponsor-icons a{
+
Why this happens?
        display: inline-block;
+
width: 70px;
+
height: 70px;
+
cursor: pointer;
+
background-color:  #33383b;
+
border-radius: 2px;
+
  
font-size: 20px;
+
img is an inline element and inline elements flows like text. The small whitespace is due to this. Possible solutions:
color: #ffffff;
+
text-align: center;
+
line-height: 35px;
+
  
margin-right: 3px;
+
Change the display from inline to other - add display: block for instance
margin-bottom: 5px;   
+
 
 +
Change the vertical-align property to top (default is baseline)
 +
 
 +
Shrink the text size to 0 by font-size: 0 on the containing block of the inline element.
 +
 
 +
Example
 +
 
 +
Add vertical-align: top to all the three images - see updated fiddle here and snippet below:
 +
 
 +
#image-1 img,
 +
#image-2 img,
 +
#image-3 img {
 +
  background-color: #00f;
 +
  vertical-align: top;
 +
}
 +
.image-1,
 +
.image-2,
 +
image-3 {
 +
   display: block;
 +
}
 +
.Wrapper {
 +
  vertical-align: middle;
 +
  display: block;
 
}
 
}
  
Line 761: Line 774:
 
<div class="footer-right">
 
<div class="footer-right">
 
<p class="footer-company-about">
 
<p class="footer-company-about">
<span>Our Sponsors</span></p>
+
<span>About Us</span>
<div class="footer-sponsor-icons">
+
We are team Frappe building things without money. </p>
<a href="#"><i class="fa fa-facebook"></i></a>
+
<a href="#"><i class="fa fa-twitter"></i></a>
+
<a href="#"><i class="fa fa-instagram"></i></a>
+
<a href="#"><i class="fa fa-youtube"></i></a>
+
</div>
+
+
 
</div>
 
</div>
 
</footer>
 
</footer>

Revision as of 15:13, 2 October 2020

IISER-BPR IGEM

IISER-BPR IGEM Home-IISER Berhampur
Project
FRaPPe
Footer