Search
 
SCRIPT & CODE EXAMPLE
 

CSS

html css how to arrange images of different sizes

.flex-container {
    flex-flow: row;
    justify-content: space-between;
    align-items: flex-start; /* should align items to the top of your flex row if they don't reach 100px in height */
}
.inner-image {
    max-height: 100px;
}
.inner-image.portrait {
    height: 200px;
    width: 100px;
}
.inner-image.landscape {
    height: 100px;
    width: 200px;
}
Comment

PREVIOUS NEXT
Code Example
Css :: How to write text in middle of straight line in css 
Css :: dark-mode 
Css :: css has parent selector 
Css :: media query css file 
Css :: the box model 
Css :: border animation css codepen 
Css :: style class css 
Css :: advanced selectors in css 
Css :: column count css 
Css :: select child element css 
Css :: add custom taxonomy into permalinks post_type_link 
Css :: switch checkbox 
Css :: scrollbar style 
Css :: other children than first css 
Css :: custom cursor 
Css :: how to give css only to a paticular image 
Css :: <i class="fa-solid fa-quote-left"</i 
Css :: hiding text css and leaving whitespace 
Css :: center div with variable height 
Css :: set default rem css 
Css :: Understanding ' sign in css selector 
Css :: itemize text indent 
Css :: fullpage.js change the color of the anchor 
Css :: Tooltip animation effect 
Css :: simple button css codepen 
Css :: if browser css 
Css :: jitsi meet index.html add css version 
Css :: 1rem in px 
Css :: long text coming out of the block 
Css :: subtracting css 
ADD CONTENT
Topic
Content
Source link
Name
1+3 =