Package booton.css

Examples of booton.css.MyCSS$Stylesheet


        assert css.no(Mozilla);
    }

    @Test
    public void spaceAround() throws Exception {
        MyCSS css = new MyCSS();
        css.display.flex().alignContent.spaceAround();

        assert css.has("align-content", "space-around");
        assert css.has("-webkit-align-content", "space-around");
        assert css.has("-ms-flex-line-pack", "distribute");
        assert css.no(Mozilla);
    }
View Full Code Here


        assert css.no(Mozilla);
    }

    @Test
    public void spaceBetween() throws Exception {
        MyCSS css = new MyCSS();
        css.display.flex().alignContent.spaceBetween();

        assert css.has("align-content", "space-between");
        assert css.has("-webkit-align-content", "space-between");
        assert css.has("-ms-flex-line-pack", "justify");
        assert css.no(Mozilla);
    }
View Full Code Here

        assert css.no(Mozilla);
    }

    @Test
    public void stretch() throws Exception {
        MyCSS css = new MyCSS();
        css.display.flex().alignContent.stretch();

        assert css.has("align-content", "stretch");
        assert css.has("-webkit-align-content", "stretch");
        assert css.has("-ms-flex-line-pack", "stretch");
        assert css.no(Mozilla);
    }
View Full Code Here

*/
public class FlexItemTest {

    @Test
    public void basis() throws Exception {
        MyCSS css = new MyCSS();
        css.flexItem.basis(10, px);

        assert css.has("flex-basis", "10px");
        assert css.has("-webkit-flex-basis", "10px");
        assert css.no(Mozilla, IE);
    }
View Full Code Here

        assert css.no(Mozilla, IE);
    }

    @Test
    public void grow() throws Exception {
        MyCSS css = new MyCSS();
        css.flexItem.grow(2);

        assert css.has("flex-grow", "2");
        assert css.has("-webkit-flex-grow", "2");
        assert css.no(Mozilla, IE);
    }
View Full Code Here

        assert css.no(Mozilla, IE);
    }

    @Test
    public void shrink() throws Exception {
        MyCSS css = new MyCSS();
        css.flexItem.shrink(2);

        assert css.has("flex-shrink", "2");
        assert css.has("-webkit-flex-shrink", "2");
        assert css.no(Mozilla, IE);
    }
View Full Code Here

        assert css.no(Mozilla, IE);
    }

    @Test
    public void order() throws Exception {
        MyCSS css = new MyCSS();
        css.flexItem.order(2);

        assert css.has("order", "2");
        assert css.has("-webkit-order", "2");
        assert css.no(Mozilla, IE);
    }
View Full Code Here

*/
public class TransitionTest {

    @Test
    public void property() throws Exception {
        MyCSS css = new MyCSS();
        css.transition.property.all();

        assert css.has("transition", "all");
        assert css.has("-webkit-transition", "all");
        assert css.no(Mozilla, IE);
    }
View Full Code Here

        assert css.no(Mozilla);
    }

    @Test
    public void end() throws Exception {
        MyCSS css = new MyCSS();
        css.display.flex().justifyContent.end();

        assert css.has("justify-content", "flex-end");
        assert css.has("-webkit-justify-content", "flex-end");
        assert css.has("-webkit-box-pack", "end");
        assert css.has("-ms-flex-pack", "end");
        assert css.no(Mozilla);
    }
View Full Code Here

        assert css.no(Mozilla);
    }

    @Test
    public void center() throws Exception {
        MyCSS css = new MyCSS();
        css.display.flex().justifyContent.center();

        assert css.has("justify-content", "center");
        assert css.has("-webkit-justify-content", "center");
        assert css.has("-webkit-box-pack", "center");
        assert css.has("-ms-flex-pack", "center");
        assert css.no(Mozilla);
    }
View Full Code Here

TOP

Related Classes of booton.css.MyCSS$Stylesheet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.