mirror of
https://git.victorphan.net/basketballcantho/Teedy_custom.git
synced 2026-08-06 06:13:10 +07:00
#79: CSS generator
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package com.sismics.util;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import com.sismics.util.css.Selector;
|
||||
|
||||
/**
|
||||
* Test of CSS utilities.
|
||||
*
|
||||
* @author bgamard
|
||||
*/
|
||||
public class TestCss {
|
||||
@Test
|
||||
public void testBuildCss() {
|
||||
Selector selector = new Selector(".test")
|
||||
.rule("background-color", "yellow")
|
||||
.rule("font-family", "Comic Sans");
|
||||
System.out.println(selector);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user