Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

css flex

<style>
    .flex-container{
        display: flex;
    }
    .flex-item{
        padding:10px;
        border: 1px solid #ccc; 
        margin: 5px
    }
</style>

<div class="flex-container">    
    <div class="flex-item">Item 1 is quite long<div>    
    <div class="flex-item">Item 2<div>    
    <div class="flex-item">Item 3<div>    
    <div class="flex-item">Item 4<div>    
</div>
Source by tutorial.techaltum.com #
 
PREVIOUS NEXT
Tagged: #css #flex
ADD COMMENT
Topic
Name
6+9 =