Dynamically configure CSS!

zhaozj2021-02-12  198

Front desk: href = ""> link href = "CSS / <% = strcss%>. CSS" type = "text / css" rel = "stylesheet"

Backstage: public string strcss; // Declared variable strcss

// Define CSS, in Page_Load (): Strcss = DropdownList1.selectedItem.Text; // CSS file name href = "">

转载请注明原文地址:https://www.9cbs.com/read-7314.html

New Post(0)