Skip to content

Instantly share code, notes, and snippets.

@markusfalk
Last active December 15, 2015 06:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markusfalk/5216340 to your computer and use it in GitHub Desktop.
Save markusfalk/5216340 to your computer and use it in GitHub Desktop.
chrome test mf_equalheight
<html>
<head>
<meta charset="UTF-8">
<title>test</title>
<style>
div {
float: left;
padding: 20px;
background: #ccc;
width: 10%;
margin: 10px;
}
</style>
</head>
<body>
<div>test</div>
<div>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Architecto veritatis reiciendis repellendus autem aspernatur asperiores nihil unde? Laborum cumque inventore nemo eum ab debitis adipisci a obcaecati nesciunt commodi doloribus.</div>
<div>test2</div>
</body>
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="https://raw.github.com/markusfalk/js-snippets/master/EqualHeight/mf_EqualHeight.jquery.plugin.js"></script>
<script>
$('div').mf_EqualHeight();
</script>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment