This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"config":{"codeTheme":"OneDarkPro","pageThemeSyncCodeTheme":true,"openAlmightyConsole":false,"autoRun":false,"layout":"default","keepPreviousLogs":true,"codeFontSize":16},"title":"test","code":{"HTML":{"language":"html","content":"<div id=\"app\">\n{{ message }}\n</div>","resources":[]},"CSS":{"language":"css","content":"body{background-color: rgb(36, 94, 145);}","resources":[]},"JS":{"language":"javascript","content":"var app = new Vue({\nel: '#app',\ndata: {\n message: 'Hello Vue!'\n}\n})","resources":[{"name":"Vue 2","url":"./lib/[email protected]"}]},"VUE":{"language":"vue2","content":"","resources":[]}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
p:nth-child(-n+3) | |
{ | |
background:#ff0000; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var xmlHttp; | |
//创建对象 | |
function createXMLHttpRequest(){ | |
if (window.ActiveXObject){ | |
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); | |
}else if (window.XMLHttpRequest){ | |
xmlHttp = new XMLHttpRequest("Msxml2.XMLHTTP.3.0"); | |
} | |
} |