css + elements

master
Matt Huntington 2 years ago
parent f12fc014f3
commit 7becf28cd3

@ -0,0 +1,17 @@
ul {
padding:0px;
}
li {
cursor:grab;
border:1px solid black;
padding: 1em;
margin: 1em;
list-style:none;
}
li:active {
cursor:grabbing;
border-color:red;
color:red;
}

@ -4,9 +4,19 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<title></title> <title></title>
<link rel="stylesheet" href="app.css" /> <link rel="stylesheet" href="app.css" />
<script src="app.js"></script> <script defer src="app.js"></script>
</head> </head>
<body> <body>
<h1>New Trello</h1> <h1>New Trello</h1>
<ul>
<li draggable="true">one</li>
<li draggable="true">two</li>
<li draggable="true">three</li>
</ul>
<ul>
<li draggable="true">four</li>
<li draggable="true">five</li>
<li draggable="true">six</li>
</ul>
</body> </body>
</html> </html>

Loading…
Cancel
Save