Initial commit
This commit is contained in:
commit
96b6152d7b
20 changed files with 914 additions and 0 deletions
8
src/prelude/margin.rs
Normal file
8
src/prelude/margin.rs
Normal file
|
@ -0,0 +1,8 @@
|
|||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub struct Margin(pub super::Edge, pub usize);
|
||||
|
||||
impl super::BootstrapClass for Margin {
|
||||
fn as_classname(&self) -> String {
|
||||
format!("m{}-{}", self.0, self.1)
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue