Text in a flex container doesn’t wrap in IE11

Consider the following snippet: .parent { display: flex; flex-direction: column; width: 400px; border: 1px solid red; align-items: center; } .child { border: 1px solid blue; } <div class=”parent”> <div class=”child”> Lorem Ipsum is simply dummy text of the printing and typesetting industry </div> <div class=”child”> Lorem Ipsum is simply dummy text of the printing and … Read more

How to detect IE11?

When I want to detect IE I use this code: function getInternetExplorerVersion() { var rv = -1; if (navigator.appName == ‘Microsoft Internet Explorer’) { var ua = navigator.userAgent; var re = new RegExp(“MSIE ([0-9]{1,}[\.0-9]{0,})”); if (re.exec(ua) != null) rv = parseFloat( RegExp.$1 ); } return rv; } function checkVersion() { var msg = “You’re not … Read more