Legacy flexbox invisible float bug fix

Size
2,625 Kb
Views
24,276

How do I make an legacy flexbox invisible float bug fix?

Bug fix for the Webkit legacy flexbox bug where flex items become invisible when they're floated.. What is a legacy flexbox invisible float bug fix? How do you make a legacy flexbox invisible float bug fix? This script and codes were developed by Roland Warmerdam on 23 September 2022, Friday.

Legacy flexbox invisible float bug fix Previews

Legacy flexbox invisible float bug fix - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Legacy flexbox invisible float bug fix</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="row"> <div class="column"> <div class="inner"> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolorem libero sed neque sunt eveniet quidem est. Natus facilis et quis velit iure at id corrupti explicabo sunt quod. Maxime officia! Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolorem libero sed neque sunt eveniet quidem est. Natus facilis et quis velit iure at id corrupti explicabo sunt quod. Maxime officia! </div> </div> <div class="column"> <div class="inner"> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolorem libero sed neque sunt eveniet quidem est. Natus facilis et quis velit iure at id corrupti explicabo sunt quod. Maxime officia! </div> </div>
</div>
<p class="test-text"> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolorem libero sed neque sunt eveniet quidem est. Natus facilis et quis velit iure at id corrupti explicabo sunt quod. Maxime officia!
</p>
<label class="fix-toggle"> <input type="checkbox"> Toogle bug fix
</label> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Legacy flexbox invisible float bug fix - Script Codes CSS Codes

.row { display: -webkit-box; display: flex;
}
.column { float: left; display: -webkit-box; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; flex-direction: column; width: 300px;
}
.fix .column { position: relative;
}
.inner { -webkit-box-flex: 1; flex: 1 1 auto; background: lightblue;
}
.inner { padding: 0.3em 0.5em; margin: 0.5em; border-radius: 0.5em;
}
.fix-toggle { position: absolute; top: 0; left: 0; padding: 0.3em 0.5em; border-bottom-right-radius: 0.3em; background: white; box-shadow: 0 0 3px 1px #333; line-height: 1;
}
.test-text { margin: 0.5em;
}

Legacy flexbox invisible float bug fix - Script Codes JS Codes

$(function () { $('.fix-toggle input').on('change', function () { $('body').toggleClass('fix'); });
});
Legacy flexbox invisible float bug fix - Script Codes
Legacy flexbox invisible float bug fix - Script Codes
Home Page Home
Developer Roland Warmerdam
Username Rowno
Uploaded September 23, 2022
Rating 3
Size 2,625 Kb
Views 24,276
Do you need developer help for Legacy flexbox invisible float bug fix?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Roland Warmerdam (Rowno) Script Codes
Create amazing video scripts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!