小编mcx*_*xxx的帖子

CSS可以用来掩盖背景图像吗?

这就是我现在所拥有的:

当前代码的图像

到目前为止,这是我的代码:

<style type="text/css">
    .main
    {
        background:url(bg.jpg);
        height:250px;
        }
    .ban
    {
        background-color:#333;
        height:150px;
    }
    .mask
    {
        width:75px;
        height:75px;
        float:left; 
        border:#fff solid 1px;

        margin:20px;
    }
</style>

<div class="main">
    <div class="ban">
         <div class="mask"></div> 
         <div class="mask"></div>
         <div class="mask"></div>
         <div class="mask"></div>
         <div class="mask"></div>    
    </div>
</div>
Run Code Online (Sandbox Code Playgroud)

这就是我的目标:

在此输入图像描述

我想用CSS创建一个掩码 - 我需要什么呢?

css jquery

13
推荐指数
1
解决办法
9966
查看次数

SQLite中的土耳其字符在使用LIKE表达式时

select *from urunler where musteri like %ir%;
Run Code Online (Sandbox Code Playgroud)

测试数据:

+---musteri---+---ID--+
+-------------+-------+ 
+---?rem------+---1---+ 
+---Kadir-----+---2---+ 
+---Demir-----+---3---+ 
Run Code Online (Sandbox Code Playgroud)

返回结果:

Kadir
Demir 
Run Code Online (Sandbox Code Playgroud)

如果使用%?r%然后İrem返回,但卡迪尔和Demir没有回来.其他土耳其人的角色也有同样的问题,但没有任何确切的解决方案.我正在编程单声道android.


    [SQLiteFunction(Name = "TOUPPER", Arguments = 1, FuncType = FunctionType.Scalar)]
    public class TOUPPER: SQLiteFunction
    {
        public override object Invoke(object[] args)
        {
            return args[0].ToString().ToUpper();
        }
    }       

    [SQLiteFunction(Name = "COLLATION_CASE_INSENSITIVE", FuncType = FunctionType.Collation)]
    class CollationCaseInsensitive : SQLiteFunction {
        public override int Compare(string param1, string param2) {
            return String.Compare(param1, param2, true);
        }
    }       

TOUPPER.RegisterFunction(typeof(TOUPPER));
Run Code Online (Sandbox Code Playgroud)

用这种方式解决了,还单声道c#'使用了库,这里是我需要做的Android.Database.Sqlite.SQLiteDatabase

c# java sqlite android

6
推荐指数
2
解决办法
2177
查看次数

用于android mono的消息框

在函数完成AlertDialog.Builder之前,用户的响应就像messagebox一样,但我想等到用户回答.我该怎么办?

            public bool test() 
            { 
                    bool tst=false; 

                    AlertDialog.Builder builder = new AlertDialog.Builder (this); 
                    builder.SetTitle (Android.Resource.String.DialogAlertTitle); 
                    builder.SetIcon (Android.Resource.Drawable.IcDialogAlert); 
                    builder.SetMessage ("message"); 
                    builder.SetPositiveButton ("OK",(sender,e)=>{ 
                            tst=true; 
                    }); 
                    builder.SetNegativeButton ("NO",(sender,e)=>{ 
                            tst=false; 
                    }); 

                    builder.Show(); 

                    return tst; 
            }
Run Code Online (Sandbox Code Playgroud)

mono android monodevelop xamarin.android android-alertdialog

5
推荐指数
2
解决办法
9885
查看次数

Android实现单声道的示例过程?

Java实现了OnClickListener,OnTouchListener这些进程如何在单声道时无法轻松找到?先感谢您 ...

public class MyClass implements OnClickListener, OnTouchListener {
    @Override
    public boolean onTouch(View v, MotionEvent event) {

        switch (event.getAction()) {
        case MotionEvent.ACTION_DOWN:

            break;
        case MotionEvent.ACTION_UP:

            break;
        default:

            break;
        }

        return false;
    }

    @Override
    public void onClick(View v) {

    }
}
Run Code Online (Sandbox Code Playgroud)

如何使这个过程成为单声道?

mono android monodevelop xamarin.android

1
推荐指数
1
解决办法
1242
查看次数