Search the Community
Showing results for tags 'square'.
-
I have just created and uploaded a python module namely "sroot" . You can simply install it using pip in python cmd. By typing :- pip install sroot It works similar to math module bt the difference is that if you use math.sqrt(8) it will give 2.something, in decimal form Rather if you install sroot using pip and then just simply import sroot and type sroot.sqrt(8) it will give 2√2. Isn't it amazing. You can use any integer. Lemme know if you tried and liked it
-
I've got this responsive image gallery, made with W3.CSS <div id="portraits" class="w3-row tab"> <div class="w3-half"> <img src="img/img1.jpg" onclick="onClick(this)" style="width:100%;cursor:zoom-in"> <img src="img/img2.jpg" onclick="onClick(this)" style="width:100%;cursor:zoom-in"> </div> <div class="w3-half> <img src="img/img3.jpg" onclick="onClick(this)" style="width:100%;cursor:zoom-in"> <img src="img/img4.jpg" onclick="onClick(this)" style="width:100%;cursor:zoom-in"> </div> </div> <--! more stuff here -->... These images are all in different aspect ratios. So at the bottom of the image gallery, the images don't match up; 1 half is longer than the other. I've looked for answers. Putting the image in the div etc... doesn't work... I'm new here, and also relatively new to css3, so if you need more information to help me out, feel free to ask. Thanks in advance! (attached document is the HTML file. I'm using w3-third instead of w3-half, doesn't matter though) portfolio.html
- 1 reply
-
- W3.CSS
- responsive
- (and 5 more)