语义UI模态设置max-width?

时间:2017-06-13 06:22:58

标签: jquery html css semantic-ui

http://jsfiddle.net/eq2kyprs/3/

如何在上面的jsfiddle中的语义UI模式窗口中设置以下内容?

width:100%
margin-left:10px;
margin-right:10px;
max-width:300px;

https://semantic-ui.com/modules/modal.html#/definition

1 个答案:

答案 0 :(得分:-1)

将找到模态语义的样本  https://codepen.io/hesham-farag/pen/jwrLJd

(function() {
  'use strict';

  $('#demo-show-small').on('click', function() {
    $('#demo-small-modal').modal('show');
  });

  $('#demo-show-long').on('click', function() {
    $('#demo-long-modal').modal('show');
  });
})();