Summary of basic points of attention

When copying some plug-ins, pay attention to some problems. For example, when copying the fancybox plug-in, you cannot just copy the css file alone.

Because some images will be used in the css file, there is a problem with the path. So make a copy of the entire content.

 

When setting the height of a div, if it is a percentage, then you need to set the height of its parent container, that is, set the height attribute, otherwise it will not take effect

 

Inline object setting width, height is invalid.
When set to inline-block, the object is still an inline object, but the content in it will become block-level, so the height and width settings will be effective.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326175915&siteId=291194637