Angularjs 如何内联显示UI和li
我有一些类似下面的东西Angularjs 如何内联显示UI和li,angularjs,html,Angularjs,Html,我有一些类似下面的东西 <ul ng-repeat="country in countries"> <li ng-repeat="state in country.states"> {{state.name}} </li> </ul> 尝试将此样式添加到您的页面 <style> ul li{display:inline} </style> ul li{显示:内联} 对li使用显示
<ul ng-repeat="country in countries">
<li ng-repeat="state in country.states">
{{state.name}}
</li>
</ul>
尝试将此样式添加到您的页面
<style>
ul li{display:inline}
</style>
ul li{显示:内联}
对li使用显示内联CSS标记
李{
显示:内联;
}
<style>
ul li{display:inline}
</style>