<div class="modal-content">
, например.$('button').click(function(){
$('.overlay').fadeIn(200);
$('.modal-one').show().animate({
width: '30%',
height: 100
}).css({
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)'
}).append('Lorem ipsum dolor sit amet, consectetur adipisicing elit.');
})
$('.modal-one span, .overlay').on('click', function(){
$('.modal-one, .overlay').fadeOut(500)();
})